Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.conf.json 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/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007825/0.007825, allocations: 170.9 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01944/0.01944, allocations: 4.63 MB / 20.48 MB, free: 1.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 223.2 MB / 245.5 MB, free: 12.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 102.2 kB / 297.7 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.00032, allocations: 8 kB / 359.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 51.48 MB / 411.3 MB, free: 50.11 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0903/0.3362, allocations: 76.84 MB / 488.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.3364, allocations: 51.98 kB / 488.2 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.3482, allocations: 5.06 MB / 493.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3482, allocations: 0 / 493.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3482, allocations: 4 kB / 493.3 MB, free: 13.11 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004898/0.3487, allocations: 421 kB / 493.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3488, allocations: 12.03 kB / 493.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.3488, allocations: 50.55 kB / 493.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.3489, allocations: 18.38 kB / 493.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3491, allocations: 210.8 kB / 493.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3492, allocations: 12 kB / 494 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.3492, allocations: 15.94 kB / 494 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.3495, allocations: 178.4 kB / 494.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3495, allocations: 4 kB / 494.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.3495, allocations: 4 kB / 494.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.3496, allocations: 7.938 kB / 494.2 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.3497, allocations: 96.73 kB / 494.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/0.3507, allocations: 0.7752 MB / 495 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.693e-05/0.3508, allocations: 58.56 kB / 495.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.3508, allocations: 0 / 495.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.3509, allocations: 38.69 kB / 495.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.3509, allocations: 0 / 495.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002156/0.3511, allocations: 105.4 kB / 495.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.3511, allocations: 51.41 kB / 495.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3513, allocations: 150.3 kB / 495.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3513, allocations: 25.7 kB / 495.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.3514, allocations: 139.5 kB / 495.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.3514, allocations: 23.66 kB / 495.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.3514, allocations: 4 kB / 495.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.3515, allocations: 322.8 kB / 495.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.3515, allocations: 23.98 kB / 496 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.3516, allocations: 82.86 kB / 496 MB, free: 10.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.541e-05/0.3517, allocations: 39.94 kB / 496.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3517, allocations: 0 / 496.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001842/0.3519, allocations: 145.5 kB / 496.2 MB, free: 9.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3519, allocations: 5.094 kB / 496.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3519, allocations: 4 kB / 496.2 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3519, allocations: 0 / 496.2 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3521, allocations: 27.98 kB / 496.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.3521, allocations: 16 kB / 496.3 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.299e-05/0.3522, allocations: 15.84 kB / 496.3 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3522, allocations: 8 kB / 496.3 MB, free: 9.801 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.3523, allocations: 137.9 kB / 496.4 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.3524, allocations: 7.906 kB / 496.4 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.3524, allocations: 16.7 kB / 496.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3524, allocations: 256 / 496.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3524, allocations: 0 / 496.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3524, allocations: 7.953 kB / 496.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.3527, allocations: 233.5 kB / 496.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3527, allocations: 0 / 496.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3528, allocations: 15.98 kB / 496.7 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3528, allocations: 11.94 kB / 496.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3528, allocations: 4 kB / 496.7 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3528, allocations: 0 / 496.7 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3528, allocations: 0 / 496.7 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.3531, allocations: 203.3 kB / 496.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.3531, allocations: 96.97 kB / 497 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3531, allocations: 3.938 kB / 497 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.3532, allocations: 8.062 kB / 497 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.3532, allocations: 3.984 kB / 497 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3533, allocations: 4 kB / 497 MB, free: 8.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.643e-05/0.3533, allocations: 132.7 kB / 497.2 MB, free: 8.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3534, allocations: 0 / 497.2 MB, free: 8.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00025/0.3536, allocations: 31.91 kB / 497.2 MB, free: 8.812 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004107/0.354, allocations: 0.737 MB / 497.9 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.3542, allocations: 71.91 kB / 498 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3542, allocations: 0 / 498 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.3542, allocations: 27.94 kB / 498 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.3545, allocations: 18.23 kB / 498 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.356, allocations: 1.959 MB / 0.4883 GB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.3563, allocations: 0.7123 MB / 0.489 GB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.336e-05/0.3563, allocations: 20.62 kB / 0.489 GB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.3564, allocations: 39.31 kB / 0.489 GB, free: 5.109 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3564, allocations: 0 / 0.489 GB, free: 5.109 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.3688, allocations: 2.484 MB / 0.4915 GB, free: 2.758 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.369, allocations: 168.6 kB / 0.4916 GB, free: 2.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.376/1.745, allocations: 0 / 0.4916 GB, free: 2.52 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Design_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1)