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.001175/0.001175, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001231/0.001231, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1349/0.1349, allocations: 4.62 MB / 294.7 MB, free: 3.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 59.89 kB / 356.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.079/0.08005, allocations: 50.5 MB / 406.6 MB, free: 288 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003995/0.08408, allocations: 3.352 MB / 410 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.08516, allocations: 0.764 MB / 410.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.08529, allocations: 8 kB / 410.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.08546, allocations: 43.62 kB / 410.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.08565, allocations: 107.2 kB / 410.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.08594, allocations: 115.9 kB / 411 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.08639, allocations: 0.5025 MB / 411.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.08677, allocations: 282.5 kB / 411.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.08699, allocations: 191.4 kB / 412 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.08719, allocations: 195.2 kB / 412.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.08726, allocations: 56 kB / 412.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.08733, allocations: 56 kB / 412.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.69e-05/0.08742, allocations: 107.7 kB / 412.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.08761, allocations: 231 kB / 412.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.08802, allocations: 0.5377 MB / 413.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.08803, allocations: 0 / 413.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08804, allocations: 0 / 413.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.08805, allocations: 4 kB / 413.2 MB, free: 9.719 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.001224/0.08928, allocations: 0.7311 MB / 413.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.08933, allocations: 16.03 kB / 413.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.722e-05/0.08941, allocations: 66.72 kB / 414 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.582e-05/0.08949, allocations: 44.47 kB / 414 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.0898, allocations: 306.6 kB / 414.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.69e-05/0.0899, allocations: 62.84 kB / 414.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.08996, allocations: 28.38 kB / 414.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/0.09071, allocations: 400.9 kB / 414.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.09074, allocations: 0 / 414.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.09077, allocations: 11.98 kB / 414.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.09078, allocations: 8 kB / 414.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.09153, allocations: 330.3 kB / 415.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.09338, allocations: 1.507 MB / 416.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008826/0.09428, allocations: 381.2 kB / 417 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.09468, allocations: 205.5 kB / 417.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.09473, allocations: 4 kB / 417.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/0.09521, allocations: 244.7 kB / 417.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.09522, allocations: 0 / 417.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001135/0.09636, allocations: 496.9 kB / 417.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.09642, allocations: 81.11 kB / 418 MB, free: 4.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.09668, allocations: 287 kB / 418.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.09672, allocations: 29.7 kB / 418.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.09685, allocations: 200.2 kB / 418.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.09692, allocations: 94.86 kB / 418.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.09703, allocations: 57.61 kB / 418.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.09715, allocations: 338.8 kB / 419 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.0975, allocations: 143.9 kB / 419.1 MB, free: 3.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.09788, allocations: 208.9 kB / 419.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.09859, allocations: 371.1 kB / 419.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.0986, allocations: 4 kB / 419.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008785/0.09948, allocations: 446.8 kB / 420.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.09952, allocations: 33.7 kB / 420.2 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.09954, allocations: 0 / 420.2 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.09955, allocations: 4 kB / 420.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.1005, allocations: 215.8 kB / 420.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.102, allocations: 1.679 MB / 422.1 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.1023, allocations: 55.78 kB / 422.1 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1023, allocations: 15.98 kB / 422.2 MB, free: 200 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.0001911/0.1025, allocations: 175.9 kB / 422.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1448/0.2473, allocations: 23.17 kB / 422.3 MB, free: 48.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009049/0.2482, allocations: 361.4 kB / 422.7 MB, free: 48.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2483, allocations: 3.281 kB / 422.7 MB, free: 48.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2483, allocations: 0.7812 kB / 422.7 MB, free: 48.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2483, allocations: 2.672 kB / 422.7 MB, free: 48.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.2487, allocations: 453.1 kB / 423.1 MB, free: 48.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2487, allocations: 1.094 kB / 423.1 MB, free: 48.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.2497, allocations: 206.5 kB / 423.4 MB, free: 48.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.2497, allocations: 2.969 kB / 423.4 MB, free: 48.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.2498, allocations: 10 kB / 423.4 MB, free: 48.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.2509, allocations: 1.68 MB / 425 MB, free: 46.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.251, allocations: 0.625 kB / 425 MB, free: 46.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.252, allocations: 0.5775 MB / 425.6 MB, free: 46.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.2521, allocations: 107.5 kB / 425.7 MB, free: 46.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.2521, allocations: 10.44 kB / 425.7 MB, free: 46.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.2524, allocations: 32.61 kB / 425.8 MB, free: 46.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.2525, allocations: 30.23 kB / 425.8 MB, free: 46.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2525, allocations: 9.781 kB / 425.8 MB, free: 46.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.2527, allocations: 207.1 kB / 426 MB, free: 46.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2527, allocations: 0 / 426 MB, free: 46.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.2531, allocations: 94.52 kB / 426.1 MB, free: 46.63 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.001182/0.2542, allocations: 1.119 MB / 427.2 MB, free: 46.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.2556, allocations: 0.5368 MB / 427.8 MB, free: 45.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2556, allocations: 0 / 427.8 MB, free: 45.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008719/0.2565, allocations: 312.6 kB / 428.1 MB, free: 45.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2568, allocations: 43.97 kB / 428.1 MB, free: 45.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.2612, allocations: 3.686 MB / 431.8 MB, free: 43.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.2614, allocations: 0.7921 MB / 432.6 MB, free: 42.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.2616, allocations: 34.28 kB / 432.6 MB, free: 42.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.2617, allocations: 105.5 kB / 432.7 MB, free: 42.85 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2617, allocations: 0 / 432.7 MB, free: 42.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.2776, allocations: 6.577 MB / 439.3 MB, free: 42.31 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.2778, allocations: 226.9 kB / 439.5 MB, free: 42.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.095, allocations: 0 / 439.5 MB, free: 42.05 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)