Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008687, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001017/0.001017, allocations: 177.3 kB / 15.95 MB, free: 216 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.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1705/0.1705, allocations: 4.629 MB / 295.6 MB, free: 4.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003715, allocations: 12 kB / 357.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09849, allocations: 51.49 MB / 409.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003225/0.1018, allocations: 2.681 MB / 411.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.103, allocations: 0.7645 MB / 412.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1031, allocations: 4 kB / 412.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.1033, allocations: 51.61 kB / 412.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1035, allocations: 115.7 kB / 412.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1038, allocations: 87.84 kB / 412.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.1041, allocations: 319.8 kB / 413.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.1045, allocations: 190 kB / 413.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.1046, allocations: 135.5 kB / 413.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.1048, allocations: 155.3 kB / 413.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.1049, allocations: 19.94 kB / 413.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.1049, allocations: 20 kB / 413.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.105, allocations: 59.75 kB / 413.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.1051, allocations: 97.52 kB / 413.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.1054, allocations: 423.2 kB / 414.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.1054, allocations: 0 / 414.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1054, allocations: 4 kB / 414.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1055, allocations: 4 kB / 414.2 MB, free: 9.906 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001156/0.1066, allocations: 0.6819 MB / 414.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1067, allocations: 12.03 kB / 414.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.1067, allocations: 39.53 kB / 414.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1071, allocations: 305.3 kB / 415.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.1072, allocations: 66.34 kB / 415.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.1073, allocations: 28 kB / 415.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007452/0.108, allocations: 412.9 kB / 415.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.108, allocations: 4 kB / 415.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.1081, allocations: 12 kB / 415.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1081, allocations: 8 kB / 415.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007839/0.1089, allocations: 358.4 kB / 416.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.1108, allocations: 1.526 MB / 417.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.1118, allocations: 422.4 kB / 418 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1118, allocations: 8 kB / 418 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/0.1123, allocations: 256.9 kB / 418.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.1123, allocations: 0 / 418.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001221/0.1136, allocations: 0.5399 MB / 418.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.1136, allocations: 85.11 kB / 418.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1139, allocations: 283 kB / 419.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.114, allocations: 33.7 kB / 419.2 MB, free: 4.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1141, allocations: 192.2 kB / 419.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.1142, allocations: 90.73 kB / 419.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.1142, allocations: 7.938 kB / 419.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1143, allocations: 338.8 kB / 419.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.1147, allocations: 167.8 kB / 420 MB, free: 3.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.1151, allocations: 220.9 kB / 420.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.1156, allocations: 202.2 kB / 420.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1156, allocations: 0 / 420.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009549/0.1165, allocations: 490.8 kB / 420.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.1166, allocations: 36.05 kB / 420.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1166, allocations: 0 / 420.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1166, allocations: 7.938 kB / 420.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.1177, allocations: 283.7 kB / 421.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.1193, allocations: 1.57 MB / 422.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.1196, allocations: 67.83 kB / 422.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1197, allocations: 12 kB / 422.8 MB, free: 0.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.1199, allocations: 169.8 kB / 423 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.12, allocations: 31.58 kB / 423 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008538/0.1208, allocations: 408.4 kB / 423.4 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1209, allocations: 0 / 423.4 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1209, allocations: 4 kB / 423.4 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1209, allocations: 7.969 kB / 423.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2134/0.3343, allocations: 444.7 kB / 423.9 MB, free: 45.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3343, allocations: 0.5 kB / 423.9 MB, free: 45.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.3357, allocations: 271.1 kB / 424.2 MB, free: 45.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.3357, allocations: 3.375 kB / 424.2 MB, free: 45.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.3358, allocations: 11 kB / 424.2 MB, free: 45.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.3378, allocations: 1.568 MB / 425.7 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3378, allocations: 3.75 kB / 425.7 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.3392, allocations: 0.6385 MB / 426.4 MB, free: 44.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.3393, allocations: 110.9 kB / 426.5 MB, free: 44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.3393, allocations: 6.375 kB / 426.5 MB, free: 44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.3396, allocations: 42.2 kB / 426.5 MB, free: 44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.3397, allocations: 26.83 kB / 426.6 MB, free: 44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.3397, allocations: 13.36 kB / 426.6 MB, free: 44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.3399, allocations: 203.7 kB / 426.8 MB, free: 43.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3399, allocations: 1.75 kB / 426.8 MB, free: 43.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.3404, allocations: 86.95 kB / 426.9 MB, free: 43.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.3405, allocations: 105.3 kB / 427 MB, free: 43.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.342, allocations: 0.6114 MB / 427.6 MB, free: 43.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3421, allocations: 0 / 427.6 MB, free: 43.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3431, allocations: 372.4 kB / 427.9 MB, free: 43.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3434, allocations: 46.8 kB / 428 MB, free: 43.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.3453, allocations: 1.052 MB / 429 MB, free: 43.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3455, allocations: 0.804 MB / 429.8 MB, free: 42.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.3457, allocations: 34.22 kB / 429.9 MB, free: 42.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.3458, allocations: 22.19 kB / 429.9 MB, free: 42.56 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3458, allocations: 0 / 429.9 MB, free: 42.56 MB / 350.1 MB Notification: Performance of Templates: time 0.006124/0.3519, allocations: 3.121 MB / 433 MB, free: 42.39 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile Environment - environmentSimulation: (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Controlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) Environment - environmentSimulation: