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.0008946/0.0008942, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006788/0.006789, allocations: 170 kB / 16.27 MB, free: 6.652 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.544/1.544, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1725/0.1725, allocations: 4.636 MB / 296.1 MB, free: 4.016 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004139, allocations: 8 kB / 358.3 MB, free: 2.148 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 51.48 MB / 409.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003634/0.1318, allocations: 2.971 MB / 412.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1335, allocations: 0.7679 MB / 413.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003331/0.1338, allocations: 8 kB / 413.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.134, allocations: 35.64 kB / 413.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.1345, allocations: 111.1 kB / 413.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1349, allocations: 115.9 kB / 413.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.1355, allocations: 474.5 kB / 414.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.1359, allocations: 245.7 kB / 414.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1361, allocations: 139.4 kB / 414.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1363, allocations: 159.2 kB / 414.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.1364, allocations: 24 kB / 414.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.1364, allocations: 16 kB / 414.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.1365, allocations: 63.7 kB / 414.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.1367, allocations: 208.8 kB / 415.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.1371, allocations: 0.4907 MB / 415.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1371, allocations: 7.938 kB / 415.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1371, allocations: 0 / 415.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1371, allocations: 4 kB / 415.6 MB, free: 8.77 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.00123/0.1383, allocations: 0.6767 MB / 416.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1384, allocations: 12.03 kB / 416.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.1385, allocations: 40.47 kB / 416.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.1388, allocations: 314.6 kB / 416.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.1389, allocations: 58.84 kB / 416.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.139, allocations: 32.38 kB / 416.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/0.1398, allocations: 413.1 kB / 417.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1398, allocations: 0 / 417.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.1399, allocations: 16 kB / 417.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1399, allocations: 8 kB / 417.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.1407, allocations: 358.3 kB / 417.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.1426, allocations: 1.53 MB / 419 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.1437, allocations: 415.6 kB / 419.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.1441, allocations: 225.6 kB / 419.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1442, allocations: 3.984 kB / 419.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.1447, allocations: 264.8 kB / 419.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 3.186e-06/0.1447, allocations: 0 / 419.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001296/0.146, allocations: 0.5438 MB / 420.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.1461, allocations: 81.11 kB / 420.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.1464, allocations: 287 kB / 420.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.1464, allocations: 33.7 kB / 420.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1465, allocations: 192.2 kB / 421 MB, free: 3.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/0.1466, allocations: 90.73 kB / 421.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.1467, allocations: 29.7 kB / 421.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1468, allocations: 346.8 kB / 421.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.1472, allocations: 159.9 kB / 421.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.1477, allocations: 224.9 kB / 421.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.1485, allocations: 403.1 kB / 422.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1485, allocations: 4 kB / 422.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009584/0.1494, allocations: 490.8 kB / 422.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.1495, allocations: 33.7 kB / 422.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1495, allocations: 4 kB / 422.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1495, allocations: 4 kB / 422.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.1506, allocations: 275.7 kB / 423.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2477/0.3983, allocations: 1.568 MB / 424.6 MB, free: 44.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.3988, allocations: 65.53 kB / 424.7 MB, free: 44.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.3989, allocations: 12.77 kB / 424.7 MB, free: 44.5 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.0002577/0.3991, allocations: 173.3 kB / 424.9 MB, free: 44.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.3992, allocations: 32.56 kB / 424.9 MB, free: 44.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009929/0.4002, allocations: 397.9 kB / 425.3 MB, free: 44.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4002, allocations: 3.5 kB / 425.3 MB, free: 44.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4002, allocations: 1.375 kB / 425.3 MB, free: 44.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4002, allocations: 2.766 kB / 425.3 MB, free: 44.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.4008, allocations: 452.1 kB / 425.7 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4008, allocations: 4.5 kB / 425.8 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.4019, allocations: 269.6 kB / 426 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4019, allocations: 0 / 426 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.402, allocations: 9.688 kB / 426 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.4035, allocations: 1.563 MB / 427.6 MB, free: 42.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4035, allocations: 4.062 kB / 427.6 MB, free: 42.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.4048, allocations: 0.634 MB / 428.2 MB, free: 42.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.4049, allocations: 114 kB / 428.3 MB, free: 42.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.4049, allocations: 6.562 kB / 428.3 MB, free: 42.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.4052, allocations: 42.06 kB / 428.4 MB, free: 42.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.4053, allocations: 35.31 kB / 428.4 MB, free: 42.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.4053, allocations: 7.438 kB / 428.4 MB, free: 42.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.4055, allocations: 205.7 kB / 428.6 MB, free: 42.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4055, allocations: 0 / 428.6 MB, free: 42.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004432/0.406, allocations: 84.28 kB / 428.7 MB, free: 42.53 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.0001111/0.4061, allocations: 111.3 kB / 428.8 MB, free: 42.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.4077, allocations: 0.6145 MB / 429.4 MB, free: 42.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4077, allocations: 0 / 429.4 MB, free: 42.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.4088, allocations: 380.2 kB / 429.8 MB, free: 42.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.4092, allocations: 47.33 kB / 429.9 MB, free: 42.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.4111, allocations: 1.089 MB / 430.9 MB, free: 41.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.4113, allocations: 0.7938 MB / 431.7 MB, free: 41.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.4114, allocations: 35.53 kB / 431.8 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.4115, allocations: 23.78 kB / 431.8 MB, free: 41.11 MB / 350.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4115, allocations: 4 kB / 431.8 MB, free: 41.11 MB / 350.1 MB Notification: Performance of Templates: time 0.006518/0.4181, allocations: 3.222 MB / 435 MB, free: 40.94 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: