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.001539/0.001539, allocations: 112.2 kB / 16.42 MB, free: 6.48 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.001713/0.001713, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 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.8413/0.8413, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 69.98 kB / 0.5961 GB, free: 12.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1446, allocations: 82.02 MB / 0.6762 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled): time 0.003325/0.148, allocations: 2.228 MB / 0.6784 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1493, allocations: 0.7363 MB / 0.6791 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.1495, allocations: 11.94 kB / 0.6791 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.1497, allocations: 35.59 kB / 0.6791 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1498, allocations: 51.53 kB / 0.6792 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.1503, allocations: 162.7 kB / 0.6793 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1506, allocations: 271.8 kB / 0.6796 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.1508, allocations: 123.5 kB / 0.6797 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.151, allocations: 87.59 kB / 0.6798 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1511, allocations: 103.4 kB / 0.6799 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.1511, allocations: 24 kB / 0.6799 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.215e-05/0.1512, allocations: 24 kB / 0.6799 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1512, allocations: 51.78 kB / 0.68 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.335e-05/0.1513, allocations: 115.3 kB / 0.6801 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.1516, allocations: 262.7 kB / 0.6803 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1517, allocations: 0 / 0.6803 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1517, allocations: 0 / 0.6803 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.1517, allocations: 0 / 0.6803 GB, free: 6.16 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.000753/0.1524, allocations: 0.5584 MB / 0.6809 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1525, allocations: 12.02 kB / 0.6809 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.1525, allocations: 36.7 kB / 0.6809 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.153, allocations: 291.7 kB / 0.6812 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.153, allocations: 16.38 kB / 0.6812 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.153, allocations: 12.38 kB / 0.6812 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.1534, allocations: 221.5 kB / 0.6814 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1534, allocations: 0 / 0.6814 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1534, allocations: 4 kB / 0.6814 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1534, allocations: 7.938 kB / 0.6815 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.1537, allocations: 144.8 kB / 0.6816 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.1547, allocations: 0.7637 MB / 0.6823 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.155, allocations: 166.6 kB / 0.6825 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1552, allocations: 64.83 kB / 0.6826 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1552, allocations: 7.938 kB / 0.6826 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1552, allocations: 34.56 kB / 0.6826 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.1552, allocations: 4 kB / 0.6826 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0004503/0.1557, allocations: 197.5 kB / 0.6828 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1557, allocations: 81.11 kB / 0.6829 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.156, allocations: 250.7 kB / 0.6831 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.156, allocations: 25.7 kB / 0.6831 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1561, allocations: 168.2 kB / 0.6833 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.1561, allocations: 55.77 kB / 0.6833 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.1562, allocations: 37.66 kB / 0.6834 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1563, allocations: 342.8 kB / 0.6837 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1565, allocations: 48.84 kB / 0.6838 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1566, allocations: 98.8 kB / 0.6839 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006508/0.1573, allocations: 249.5 kB / 0.6841 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1573, allocations: 0 / 0.6841 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003259/0.1576, allocations: 181.4 kB / 0.6843 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1576, allocations: 8 kB / 0.6843 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1576, allocations: 0 / 0.6843 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1576, allocations: 0 / 0.6843 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1578, allocations: 44.02 kB / 0.6843 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1578, allocations: 4 kB / 0.6843 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.158, allocations: 19.88 kB / 0.6843 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.158, allocations: 4 kB / 0.6843 GB, free: 1.789 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.0001859/0.1582, allocations: 144.7 kB / 0.6845 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.588e-05/0.1583, allocations: 71.66 kB / 0.6845 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004612/0.1587, allocations: 203.3 kB / 0.6847 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.1587, allocations: 0 / 0.6847 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization_lambda0): time 0.000249/0.159, allocations: 169.4 kB / 0.6849 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.159, allocations: 4 kB / 0.6849 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.159, allocations: 11.88 kB / 0.6849 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-06/0.159, allocations: 0 / 0.6849 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1592, allocations: 31.98 kB / 0.6849 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.1592, allocations: 0 / 0.6849 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/0.1593, allocations: 7.938 kB / 0.685 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1593, allocations: 8 kB / 0.685 GB, free: 1.117 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.0001121/0.1594, allocations: 200.2 kB / 0.6852 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.1595, allocations: 31.8 kB / 0.6852 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.1595, allocations: 25.84 kB / 0.6852 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.1595, allocations: 3.984 kB / 0.6852 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1595, allocations: 0 / 0.6852 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.1596, allocations: 109 kB / 0.6853 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.1597, allocations: 7.938 kB / 0.6853 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1598, allocations: 7.984 kB / 0.6853 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.1598, allocations: 4 kB / 0.6853 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004377/0.1603, allocations: 248.9 kB / 0.6856 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004796/0.1608, allocations: 413.6 kB / 0.686 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001287/0.1609, allocations: 68 kB / 0.686 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001384/0.1611, allocations: 178 kB / 0.6862 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of Backend: time 4.61e-07/0.1611, allocations: 0 / 0.6862 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.1616, allocations: 222.2 kB / 0.6864 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0008683/0.1625, allocations: 0.9052 MB / 0.6873 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.006075/0.1686, allocations: 3.046 MB / 0.6903 GB, free: 11.61 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)