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.0009349/0.0009349, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0009813/0.0009812, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.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.983/0.983, allocations: 143.2 MB / 434.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 4 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 83.41 MB / 0.5972 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled): time 0.002293/0.1331, allocations: 1.831 MB / 0.599 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1344, allocations: 0.69 MB / 0.5997 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.1346, allocations: 7.938 kB / 0.5997 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.1347, allocations: 23.73 kB / 0.5997 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1349, allocations: 43.64 kB / 0.5998 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1352, allocations: 111.4 kB / 0.5999 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.1355, allocations: 231.9 kB / 0.6001 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.1357, allocations: 90.23 kB / 0.6002 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.1358, allocations: 59.61 kB / 0.6002 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1359, allocations: 71.5 kB / 0.6003 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.136, allocations: 4 kB / 0.6003 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.064e-05/0.136, allocations: 8 kB / 0.6003 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.136, allocations: 23.86 kB / 0.6003 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1361, allocations: 61.52 kB / 0.6004 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1363, allocations: 183.8 kB / 0.6006 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1363, allocations: 0 / 0.6006 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1363, allocations: 0 / 0.6006 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1363, allocations: 4 kB / 0.6006 GB, free: 4.609 MB / 0.4981 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.0006893/0.137, allocations: 0.5099 MB / 0.6011 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.137, allocations: 8.031 kB / 0.6011 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.1371, allocations: 31.62 kB / 0.6011 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1374, allocations: 282.3 kB / 0.6014 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1375, allocations: 12 kB / 0.6014 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1375, allocations: 20 kB / 0.6014 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.1379, allocations: 210.1 kB / 0.6016 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1379, allocations: 0 / 0.6016 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.1379, allocations: 12 kB / 0.6016 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1379, allocations: 4 kB / 0.6016 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.1382, allocations: 140.9 kB / 0.6018 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/0.1392, allocations: 0.783 MB / 0.6025 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.1396, allocations: 182.6 kB / 0.6027 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1397, allocations: 64.83 kB / 0.6028 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1398, allocations: 4 kB / 0.6028 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.1398, allocations: 30.56 kB / 0.6028 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1398, allocations: 4 kB / 0.6028 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004803/0.1403, allocations: 225.2 kB / 0.603 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1403, allocations: 77.11 kB / 0.6031 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1406, allocations: 250.7 kB / 0.6033 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1406, allocations: 29.7 kB / 0.6034 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1407, allocations: 168.2 kB / 0.6035 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.1408, allocations: 55.2 kB / 0.6036 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.1408, allocations: 0 / 0.6036 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1409, allocations: 334.8 kB / 0.6039 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.141, allocations: 47.98 kB / 0.6039 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1412, allocations: 92.25 kB / 0.604 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1413, allocations: 66.88 kB / 0.6041 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1413, allocations: 4.031 kB / 0.6041 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003384/0.1417, allocations: 189.2 kB / 0.6043 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.1418, allocations: 115.6 kB / 0.6044 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1418, allocations: 4 kB / 0.6044 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1418, allocations: 0 / 0.6044 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.142, allocations: 35.92 kB / 0.6044 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.142, allocations: 0 / 0.6044 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1421, allocations: 23.83 kB / 0.6044 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1421, allocations: 12 kB / 0.6045 GB, free: 384 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.1422, allocations: 4 kB / 0.6045 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001918/0.1424, allocations: 111.9 kB / 0.6046 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.1424, allocations: 4 kB / 0.6046 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-06/0.1424, allocations: 0 / 0.6046 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1425, allocations: 27.94 kB / 0.6046 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1425, allocations: 11.92 kB / 0.6046 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/0.1426, allocations: 11.84 kB / 0.6046 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1426, allocations: 8 kB / 0.6046 GB, free: 204 kB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: firstOrder.y:VARIABLE(flow=false start = firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real PI1.I.y:VARIABLE(flow=false start = PI1.I.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2311/0.3737, allocations: 222 kB / 0.6048 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.3738, allocations: 24.38 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.944e-05/0.3739, allocations: 28.03 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3739, allocations: 1.062 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3739, allocations: 0 / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3739, allocations: 5.094 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.3746, allocations: 0.5175 MB / 0.6054 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3746, allocations: 3.391 kB / 0.6054 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3747, allocations: 25.67 kB / 0.6054 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3747, allocations: 0.6094 kB / 0.6054 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3748, allocations: 10.66 kB / 0.6054 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3748, allocations: 0.5312 kB / 0.6054 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3748, allocations: 0 / 0.6054 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.3752, allocations: 343.3 kB / 0.6058 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.3752, allocations: 109 kB / 0.6059 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3753, allocations: 4.25 kB / 0.6059 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3754, allocations: 12.36 kB / 0.6059 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.3754, allocations: 6.656 kB / 0.6059 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.3755, allocations: 7.844 kB / 0.6059 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001254/0.3756, allocations: 175 kB / 0.6061 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3756, allocations: 0.8438 kB / 0.6061 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000365/0.376, allocations: 70.78 kB / 0.6061 GB, free: 40.08 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (PI1.I.y,firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.037e-05/0.376, allocations: 100.5 kB / 0.6062 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.3764, allocations: 204.5 kB / 0.6064 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3764, allocations: 0 / 0.6064 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3765, allocations: 66.48 kB / 0.6065 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.377, allocations: 58.88 kB / 0.6065 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.3776, allocations: 0.5098 MB / 0.607 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3778, allocations: 0.7563 MB / 0.6078 GB, free: 39.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.3779, allocations: 27.77 kB / 0.6078 GB, free: 39.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.378, allocations: 22 kB / 0.6078 GB, free: 39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.378, allocations: 3.844 kB / 0.6078 GB, free: 39 MB / 0.4981 GB Notification: Performance of Templates: time 0.004299/0.3823, allocations: 2.059 MB / 0.6098 GB, free: 38.92 MB / 0.4981 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)