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: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 108 kB / 15.6 MB, free: 132 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.001317/0.001317, allocations: 196.4 kB / 16.53 MB, free: 6.391 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1179/0.1179, allocations: 4.637 MB / 295 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.91 kB / 356.7 MB, free: 2.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0778/0.07916, allocations: 50.51 MB / 407.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004097/0.08329, allocations: 3.196 MB / 410.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.08463, allocations: 0.7757 MB / 411.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.08486, allocations: 8 kB / 411.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.08504, allocations: 63.38 kB / 411.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.08531, allocations: 118.9 kB / 411.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.08567, allocations: 135.8 kB / 411.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.08621, allocations: 0.5064 MB / 412 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.08661, allocations: 278.4 kB / 412.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.08688, allocations: 187.4 kB / 412.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.08713, allocations: 203.2 kB / 412.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/0.08722, allocations: 56 kB / 412.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.08731, allocations: 56 kB / 412.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.08741, allocations: 107.7 kB / 412.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.08763, allocations: 223.1 kB / 413 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.08808, allocations: 0.5416 MB / 413.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.08809, allocations: 0 / 413.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0881, allocations: 4 kB / 413.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.08811, allocations: 0 / 413.6 MB, free: 9.367 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.001366/0.08948, allocations: 0.7294 MB / 414.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.08953, allocations: 12.03 kB / 414.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.434e-05/0.08961, allocations: 66.72 kB / 414.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.0897, allocations: 44.47 kB / 414.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.09005, allocations: 310.6 kB / 414.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.09016, allocations: 54.91 kB / 414.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.09022, allocations: 32.38 kB / 414.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007602/0.09099, allocations: 408.9 kB / 415.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.09101, allocations: 0 / 415.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.09105, allocations: 8 kB / 415.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.09106, allocations: 8 kB / 415.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.09189, allocations: 326.4 kB / 415.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.09391, allocations: 1.51 MB / 417.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/0.0949, allocations: 385.3 kB / 417.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.09536, allocations: 197.5 kB / 417.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.09539, allocations: 8 kB / 417.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.09591, allocations: 248.8 kB / 417.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.854e-06/0.09592, allocations: 0 / 417.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001256/0.09718, allocations: 496.9 kB / 418.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.09724, allocations: 81.11 kB / 418.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.09752, allocations: 283.1 kB / 418.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.09756, allocations: 37.7 kB / 418.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.09768, allocations: 192.2 kB / 419 MB, free: 3.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.09776, allocations: 94.67 kB / 419.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.09787, allocations: 61.59 kB / 419.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.09799, allocations: 338.8 kB / 419.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.09839, allocations: 147.9 kB / 419.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.09881, allocations: 204.9 kB / 419.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/0.09959, allocations: 363.2 kB / 420.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.0996, allocations: 3.984 kB / 420.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009397/0.1005, allocations: 450.8 kB / 420.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.1006, allocations: 33.7 kB / 420.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1006, allocations: 0 / 420.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1006, allocations: 8.156 kB / 420.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.1017, allocations: 215.7 kB / 420.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1302/0.2319, allocations: 1.676 MB / 422.5 MB, free: 47.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.2323, allocations: 43.47 kB / 422.6 MB, free: 47.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.2324, allocations: 13.3 kB / 422.6 MB, free: 47.58 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.0001942/0.2326, allocations: 175.7 kB / 422.7 MB, free: 47.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.2326, allocations: 26.22 kB / 422.8 MB, free: 47.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008614/0.2335, allocations: 366.2 kB / 423.1 MB, free: 47.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2335, allocations: 5.234 kB / 423.1 MB, free: 47.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.2335, allocations: 1.906 kB / 423.1 MB, free: 47.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2335, allocations: 3.281 kB / 423.1 MB, free: 47.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.234, allocations: 451 kB / 423.6 MB, free: 47.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.234, allocations: 7.609 kB / 423.6 MB, free: 47.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.2351, allocations: 206.8 kB / 423.8 MB, free: 47.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2351, allocations: 5.312 kB / 423.8 MB, free: 47.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.2351, allocations: 3.5 kB / 423.8 MB, free: 47.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.2363, allocations: 1.674 MB / 425.5 MB, free: 45.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2363, allocations: 3.516 kB / 425.5 MB, free: 45.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2374, allocations: 0.5753 MB / 426 MB, free: 45.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.2375, allocations: 109.7 kB / 426.2 MB, free: 45.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.2376, allocations: 8.906 kB / 426.2 MB, free: 45.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.2378, allocations: 27.98 kB / 426.2 MB, free: 45.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.2379, allocations: 23.75 kB / 426.2 MB, free: 45.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.2379, allocations: 14.95 kB / 426.2 MB, free: 45.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.2381, allocations: 205.2 kB / 426.4 MB, free: 45.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2381, allocations: 3.469 kB / 426.4 MB, free: 45.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004043/0.2385, allocations: 91.28 kB / 426.5 MB, free: 45.46 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.001298/0.2398, allocations: 1.124 MB / 427.6 MB, free: 44.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.2413, allocations: 0.5389 MB / 428.2 MB, free: 44.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2413, allocations: 3.844 kB / 428.2 MB, free: 44.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.2423, allocations: 302.5 kB / 428.5 MB, free: 44.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.2427, allocations: 49.08 kB / 428.5 MB, free: 44.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.2472, allocations: 3.562 MB / 432.1 MB, free: 42.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.2474, allocations: 0.7946 MB / 432.9 MB, free: 41.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.2475, allocations: 32.16 kB / 432.9 MB, free: 41.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2477, allocations: 108.9 kB / 433 MB, free: 41.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2477, allocations: 0 / 433 MB, free: 41.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.324/1.572, allocations: 6.766 MB / 439.8 MB, free: 41.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/19.91, allocations: 11.08 kB / 439.8 MB, free: 41.18 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)