Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled") translateModel(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 110.7 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8625/0.8625, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 56.12 kB / 0.5961 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1292, allocations: 82.03 MB / 0.6762 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled): time 0.003041/0.1323, allocations: 2.218 MB / 0.6784 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1334, allocations: 0.7441 MB / 0.6791 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1336, allocations: 7.938 kB / 0.6791 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.1337, allocations: 39.59 kB / 0.6791 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1339, allocations: 43.53 kB / 0.6792 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1343, allocations: 163.6 kB / 0.6793 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.1346, allocations: 275.9 kB / 0.6796 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1348, allocations: 115.5 kB / 0.6797 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.1349, allocations: 91.59 kB / 0.6798 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.135, allocations: 95.36 kB / 0.6799 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.1351, allocations: 24 kB / 0.6799 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.264e-05/0.1351, allocations: 20 kB / 0.6799 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1352, allocations: 55.77 kB / 0.68 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.1353, allocations: 111.3 kB / 0.6801 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.1355, allocations: 263 kB / 0.6803 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1355, allocations: 4 kB / 0.6803 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1356, allocations: 0 / 0.6803 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1356, allocations: 0 / 0.6803 GB, free: 6.199 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007307/0.1363, allocations: 0.5528 MB / 0.6809 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1363, allocations: 12.02 kB / 0.6809 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.1364, allocations: 36.56 kB / 0.6809 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1367, allocations: 279.6 kB / 0.6812 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1368, allocations: 12.38 kB / 0.6812 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.1368, allocations: 24.28 kB / 0.6812 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.1372, allocations: 221.5 kB / 0.6814 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1372, allocations: 4 kB / 0.6814 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.1372, allocations: 8 kB / 0.6814 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1373, allocations: 4 kB / 0.6814 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.1375, allocations: 140.8 kB / 0.6816 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.1385, allocations: 0.7635 MB / 0.6823 GB, free: 4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.1388, allocations: 170.6 kB / 0.6825 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.139, allocations: 64.83 kB / 0.6825 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.139, allocations: 4 kB / 0.6826 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.139, allocations: 34.5 kB / 0.6826 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.139, allocations: 0 / 0.6826 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0004612/0.1395, allocations: 212.5 kB / 0.6828 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1396, allocations: 77.11 kB / 0.6829 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.1398, allocations: 246.7 kB / 0.6831 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1398, allocations: 33.7 kB / 0.6831 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1399, allocations: 164 kB / 0.6833 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.14, allocations: 55.42 kB / 0.6833 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.14, allocations: 33.7 kB / 0.6834 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1402, allocations: 350.8 kB / 0.6837 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1403, allocations: 48.84 kB / 0.6838 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1405, allocations: 88.2 kB / 0.6838 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.1411, allocations: 231.8 kB / 0.6841 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1411, allocations: 0 / 0.6841 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003494/0.1415, allocations: 197.2 kB / 0.6842 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1415, allocations: 4 kB / 0.6842 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1415, allocations: 0 / 0.6842 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1415, allocations: 4 kB / 0.6843 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.1417, allocations: 31.92 kB / 0.6843 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1417, allocations: 0 / 0.6843 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1419, allocations: 23.83 kB / 0.6843 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1419, allocations: 4 kB / 0.6843 GB, free: 1.848 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: PI1.I.y:VARIABLE(flow=false start = PI1.I.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real firstOrder.y:VARIABLE(flow=false start = firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001803/0.1421, allocations: 144.2 kB / 0.6844 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.317e-05/0.1422, allocations: 75.09 kB / 0.6845 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000437/0.1426, allocations: 210.8 kB / 0.6847 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.1426, allocations: 0 / 0.6847 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization_lambda0): time 0.0002352/0.1429, allocations: 161.3 kB / 0.6849 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.1429, allocations: 8 kB / 0.6849 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.1429, allocations: 0 / 0.6849 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-06/0.1429, allocations: 3.938 kB / 0.6849 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.143, allocations: 36.02 kB / 0.6849 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.143, allocations: 0 / 0.6849 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1431, allocations: 19.84 kB / 0.6849 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1431, allocations: 4 kB / 0.6849 GB, free: 1.168 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: PI1.I.y:VARIABLE(flow=false start = PI1.I.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real firstOrder.y:VARIABLE(flow=false start = firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (PI1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.1433, allocations: 193 kB / 0.6851 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.1433, allocations: 35.69 kB / 0.6852 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.1434, allocations: 25.84 kB / 0.6852 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1434, allocations: 11.92 kB / 0.6852 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1434, allocations: 0 / 0.6852 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.089e-05/0.1435, allocations: 112.8 kB / 0.6853 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.1435, allocations: 7.938 kB / 0.6853 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1437, allocations: 11.98 kB / 0.6853 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.1437, allocations: 4 kB / 0.6853 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004321/0.1441, allocations: 240.9 kB / 0.6856 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004772/0.1446, allocations: 405.8 kB / 0.6859 GB, free: 96 kB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001167/0.1447, allocations: 63.94 kB / 0.686 GB, free: 32 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001586/0.1449, allocations: 178 kB / 0.6862 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of Backend: time 2.41e-07/0.1449, allocations: 0 / 0.6862 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.1455, allocations: 230.2 kB / 0.6864 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0009093/0.1464, allocations: 0.8801 MB / 0.6873 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.006039/0.1524, allocations: 3.057 MB / 0.6902 GB, free: 11.68 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.makefile (rm -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.sim & ./BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe 2>&1)