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.001316/0.001316, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 197 kB / 16.53 MB, free: 6.699 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1555/0.1555, allocations: 4.633 MB / 295 MB, free: 3.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 59.91 kB / 356.5 MB, free: 2.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1057, allocations: 50.51 MB / 407 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.005239/0.1109, allocations: 3.196 MB / 410.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1129, allocations: 0.7718 MB / 411 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.1133, allocations: 15.88 kB / 411 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1136, allocations: 55.44 kB / 411.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.1141, allocations: 122.9 kB / 411.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.1146, allocations: 131.8 kB / 411.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006819/0.1153, allocations: 0.5141 MB / 411.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005163/0.1158, allocations: 274.5 kB / 412.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.1162, allocations: 195.4 kB / 412.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.1165, allocations: 199.1 kB / 412.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.1166, allocations: 56 kB / 412.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.1168, allocations: 56 kB / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.1169, allocations: 103.7 kB / 412.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.1171, allocations: 227 kB / 412.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.1178, allocations: 0.5378 MB / 413.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1178, allocations: 0 / 413.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1178, allocations: 0 / 413.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.1179, allocations: 0 / 413.5 MB, free: 9.52 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.001977/0.1199, allocations: 0.7389 MB / 414.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1199, allocations: 12.03 kB / 414.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1201, allocations: 44.47 kB / 414.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.1206, allocations: 310.6 kB / 414.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.1207, allocations: 54.91 kB / 414.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.1208, allocations: 32.38 kB / 414.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/0.1217, allocations: 401.1 kB / 415 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1217, allocations: 0 / 415 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.1218, allocations: 8 kB / 415 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1218, allocations: 8 kB / 415.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009165/0.1227, allocations: 326.3 kB / 415.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.1251, allocations: 1.518 MB / 416.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1262, allocations: 369.3 kB / 417.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.1267, allocations: 205.6 kB / 417.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.1267, allocations: 3.984 kB / 417.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000537/0.1272, allocations: 248.8 kB / 417.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.1273, allocations: 0 / 417.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001284/0.1286, allocations: 0.4891 MB / 418.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.1286, allocations: 85.11 kB / 418.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.129, allocations: 283 kB / 418.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.129, allocations: 29.7 kB / 418.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.1292, allocations: 196.2 kB / 418.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.388e-05/0.1293, allocations: 86.88 kB / 418.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1294, allocations: 69.53 kB / 418.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1295, allocations: 338.8 kB / 419.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.13, allocations: 147.9 kB / 419.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.1304, allocations: 204.9 kB / 419.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007791/0.1312, allocations: 367.1 kB / 420 MB, free: 2.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1312, allocations: 3.984 kB / 420 MB, free: 2.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009417/0.1321, allocations: 450.8 kB / 420.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.1322, allocations: 33.7 kB / 420.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1322, allocations: 0 / 420.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.1322, allocations: 4 kB / 420.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.1333, allocations: 211.8 kB / 420.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.1351, allocations: 1.675 MB / 422.3 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.1354, allocations: 51.91 kB / 422.4 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.1355, allocations: 8 kB / 422.4 MB, free: 92 kB / 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.159/0.2945, allocations: 174.3 kB / 422.5 MB, free: 48.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.2946, allocations: 32.62 kB / 422.6 MB, free: 48.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.2956, allocations: 365.5 kB / 422.9 MB, free: 48.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.2956, allocations: 6.359 kB / 422.9 MB, free: 48.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2956, allocations: 2.844 kB / 422.9 MB, free: 48.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2956, allocations: 1.594 kB / 422.9 MB, free: 48.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.2962, allocations: 451.5 kB / 423.4 MB, free: 47.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2962, allocations: 1.078 kB / 423.4 MB, free: 47.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.2973, allocations: 205.7 kB / 423.6 MB, free: 47.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2973, allocations: 2 kB / 423.6 MB, free: 47.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.2973, allocations: 9.281 kB / 423.6 MB, free: 47.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.2987, allocations: 1.678 MB / 425.3 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.2987, allocations: 4.438 kB / 425.3 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2998, allocations: 0.5789 MB / 425.9 MB, free: 46.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.2998, allocations: 106.9 kB / 426 MB, free: 46.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2999, allocations: 7.078 kB / 426 MB, free: 46.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3001, allocations: 25.48 kB / 426 MB, free: 46.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.3002, allocations: 31.8 kB / 426 MB, free: 46.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.3003, allocations: 11.41 kB / 426 MB, free: 46.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.3004, allocations: 209.5 kB / 426.2 MB, free: 46.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3004, allocations: 2.344 kB / 426.2 MB, free: 46.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000411/0.3009, allocations: 89.59 kB / 426.3 MB, free: 46.17 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 9.171e-05/0.301, allocations: 103.6 kB / 426.4 MB, free: 46.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.3025, allocations: 0.5427 MB / 427 MB, free: 46.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3025, allocations: 0 / 427 MB, free: 46.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009903/0.3035, allocations: 310.4 kB / 427.3 MB, free: 46.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3038, allocations: 47.75 kB / 427.3 MB, free: 46.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3056, allocations: 0.8674 MB / 428.2 MB, free: 45.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3058, allocations: 0.7887 MB / 429 MB, free: 44.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.306, allocations: 35.69 kB / 429 MB, free: 44.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.306, allocations: 25.84 kB / 429 MB, free: 44.97 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3061, allocations: 0 / 429 MB, free: 44.97 MB / 350.1 MB Notification: Performance of Templates: time 0.006462/0.3125, allocations: 3.545 MB / 432.6 MB, free: 44.81 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)