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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00105/0.00105, allocations: 192.2 kB / 16.13 MB, free: 6.707 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1257/0.1257, allocations: 4.628 MB / 294.6 MB, free: 3.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 59.91 kB / 355.9 MB, free: 3.051 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09671/0.09774, allocations: 50.49 MB / 406.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004316/0.1021, allocations: 3.345 MB / 409.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1034, allocations: 0.7834 MB / 410.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1035, allocations: 8 kB / 410.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.1037, allocations: 39.64 kB / 410.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1039, allocations: 103.2 kB / 410.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1042, allocations: 115.9 kB / 410.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.1047, allocations: 478.5 kB / 411.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.1052, allocations: 241.7 kB / 411.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.1054, allocations: 163.4 kB / 411.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.1056, allocations: 179.2 kB / 411.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.1057, allocations: 32 kB / 411.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.076e-05/0.1058, allocations: 28 kB / 411.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.234e-05/0.1059, allocations: 79.62 kB / 411.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.1061, allocations: 199 kB / 412.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.1067, allocations: 0.5222 MB / 412.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1067, allocations: 8 kB / 412.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1067, allocations: 0 / 412.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1067, allocations: 0 / 412.7 MB, free: 10.19 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.001604/0.1084, allocations: 0.735 MB / 413.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.1084, allocations: 8.031 kB / 413.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1085, allocations: 44.47 kB / 413.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.1089, allocations: 310.6 kB / 413.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1091, allocations: 54.91 kB / 413.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/0.1091, allocations: 40.3 kB / 413.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/0.11, allocations: 405 kB / 414.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.11, allocations: 0 / 414.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.1101, allocations: 8 kB / 414.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1101, allocations: 8 kB / 414.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.111, allocations: 326.4 kB / 414.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.1133, allocations: 1.51 MB / 416.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1144, allocations: 373.3 kB / 416.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.1148, allocations: 201.6 kB / 416.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.1149, allocations: 0 / 416.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005674/0.1154, allocations: 244.8 kB / 416.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 3.797e-06/0.1155, allocations: 0 / 416.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001317/0.1168, allocations: 0.4891 MB / 417.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.1169, allocations: 89.05 kB / 417.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.1172, allocations: 287 kB / 417.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.1172, allocations: 25.7 kB / 417.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.1175, allocations: 208.3 kB / 418 MB, free: 4.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.653e-05/0.1176, allocations: 82.75 kB / 418 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.1177, allocations: 61.61 kB / 418.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1179, allocations: 338.8 kB / 418.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.1183, allocations: 147.9 kB / 418.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.1187, allocations: 208.9 kB / 418.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007688/0.1195, allocations: 363.2 kB / 419.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1195, allocations: 0 / 419.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009456/0.1205, allocations: 454.8 kB / 419.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.1205, allocations: 33.7 kB / 419.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1205, allocations: 0 / 419.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.1205, allocations: 4 kB / 419.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009384/0.1215, allocations: 211.8 kB / 419.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.1231, allocations: 1.52 MB / 421.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.1235, allocations: 55.86 kB / 421.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.1235, allocations: 15.92 kB / 421.4 MB, free: 0.9141 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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.1237, allocations: 172.3 kB / 421.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.1238, allocations: 35.55 kB / 421.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008379/0.1246, allocations: 368.5 kB / 422 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1247, allocations: 4 kB / 422 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.1247, allocations: 0 / 422 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1247, allocations: 0 / 422 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1547/0.2794, allocations: 457.8 kB / 422.4 MB, free: 48.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.2795, allocations: 0.5625 kB / 422.4 MB, free: 48.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.2806, allocations: 199.6 kB / 422.6 MB, free: 48.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.2807, allocations: 2.172 kB / 422.6 MB, free: 48.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.2807, allocations: 7.672 kB / 422.6 MB, free: 48.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.2822, allocations: 1.512 MB / 424.1 MB, free: 47.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2822, allocations: 2.547 kB / 424.2 MB, free: 47.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.2835, allocations: 0.5828 MB / 424.7 MB, free: 47.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.2835, allocations: 111.2 kB / 424.8 MB, free: 46.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.2836, allocations: 3.5 kB / 424.8 MB, free: 46.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.2838, allocations: 32.98 kB / 424.9 MB, free: 46.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.2839, allocations: 27.08 kB / 424.9 MB, free: 46.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.284, allocations: 11.27 kB / 424.9 MB, free: 46.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.2842, allocations: 208.1 kB / 425.1 MB, free: 46.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2842, allocations: 0 / 425.1 MB, free: 46.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.2846, allocations: 87.62 kB / 425.2 MB, free: 46.9 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001057/0.2847, allocations: 106.2 kB / 425.3 MB, free: 46.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.2861, allocations: 0.5309 MB / 425.8 MB, free: 46.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2861, allocations: 0 / 425.8 MB, free: 46.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.287, allocations: 305.6 kB / 426.1 MB, free: 46.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.2874, allocations: 49.31 kB / 426.2 MB, free: 46.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.2894, allocations: 0.9949 MB / 427.2 MB, free: 46.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.2897, allocations: 0.7985 MB / 428 MB, free: 45.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.2898, allocations: 32.58 kB / 428 MB, free: 45.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.2899, allocations: 23.91 kB / 428 MB, free: 45.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2899, allocations: 0 / 428 MB, free: 45.57 MB / 350.1 MB Notification: Performance of Templates: time 0.006551/0.2965, allocations: 3.278 MB / 431.3 MB, free: 45.42 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile (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)