Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.001516/0.001516, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.03176/0.03176, allocations: 4.549 MB / 12.61 MB, free: 292 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.5 MB / 235.6 MB, free: 2.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009564/0.0009564, allocations: 91.09 kB / 287.6 MB, free: 5.594 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.595e-05, allocations: 0 / 345.4 MB, free: 7.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 51.5 MB / 396.9 MB, free: 3.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3299/0.4478, allocations: 78.15 MB / 475 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001105/0.4479, allocations: 50.62 kB / 475.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01256/0.4605, allocations: 5.713 MB / 480.8 MB, free: 9.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4605, allocations: 0 / 480.8 MB, free: 9.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.4606, allocations: 4 kB / 480.8 MB, free: 9.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000702/0.4613, allocations: 0.5679 MB / 481.4 MB, free: 9.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4613, allocations: 12.03 kB / 481.4 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.4614, allocations: 35.23 kB / 481.4 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.4616, allocations: 262.8 kB / 481.7 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.4616, allocations: 8 kB / 481.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.4617, allocations: 12 kB / 481.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000294/0.462, allocations: 175.7 kB / 481.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.4623, allocations: 240 kB / 482.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4623, allocations: 1.375 kB / 482.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.4624, allocations: 0 / 482.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4624, allocations: 8 kB / 482.1 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.4634, allocations: 0.9567 MB / 483.1 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.4638, allocations: 226.6 kB / 483.3 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.464, allocations: 108.3 kB / 483.4 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.464, allocations: 12.11 kB / 483.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.4642, allocations: 136.4 kB / 483.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.4642, allocations: 0 / 483.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.000326/0.4646, allocations: 207 kB / 483.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.4646, allocations: 55.41 kB / 483.8 MB, free: 7.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.4647, allocations: 176.9 kB / 484 MB, free: 6.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.4647, allocations: 25.7 kB / 484 MB, free: 6.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.4648, allocations: 168.8 kB / 484.2 MB, free: 6.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.4649, allocations: 72.31 kB / 484.2 MB, free: 6.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.4649, allocations: 0 / 484.2 MB, free: 6.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.4649, allocations: 328.3 kB / 484.5 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.465, allocations: 77.73 kB / 484.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.4652, allocations: 114.5 kB / 484.7 MB, free: 6.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.4653, allocations: 86.41 kB / 484.8 MB, free: 6.258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4653, allocations: 0 / 484.8 MB, free: 6.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003147/0.4656, allocations: 254.5 kB / 485.1 MB, free: 6.074 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.4657, allocations: 35.25 kB / 485.1 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4657, allocations: 0 / 485.1 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4657, allocations: 4 kB / 485.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.466, allocations: 75.3 kB / 485.2 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.466, allocations: 4 kB / 485.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.4662, allocations: 43.81 kB / 485.2 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.4663, allocations: 4 kB / 485.2 MB, free: 5.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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 6.743e-05/0.4663, allocations: 116.5 kB / 485.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002533/0.4666, allocations: 216.4 kB / 485.6 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.4666, allocations: 19.72 kB / 485.6 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.4669, allocations: 235.1 kB / 485.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.467, allocations: 0 / 485.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.467, allocations: 4 kB / 485.8 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.467, allocations: 1.219 kB / 485.8 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.4672, allocations: 320.5 kB / 486.1 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4672, allocations: 3.953 kB / 486.1 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.4675, allocations: 59.45 kB / 486.2 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.4675, allocations: 4 kB / 486.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.4676, allocations: 0 / 486.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4676, allocations: 0 / 486.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4676, allocations: 7.922 kB / 486.2 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.468, allocations: 354.6 kB / 486.5 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.468, allocations: 100.8 kB / 486.6 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4681, allocations: 11.17 kB / 486.6 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.4683, allocations: 19.98 kB / 486.7 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.4683, allocations: 23.14 kB / 486.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.4684, allocations: 13.88 kB / 486.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.546e-05/0.4684, allocations: 145.9 kB / 486.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4684, allocations: 0 / 486.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.4687, allocations: 63.78 kB / 486.9 MB, free: 4.484 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005267/0.4692, allocations: 0.8854 MB / 487.8 MB, free: 3.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.4695, allocations: 246.7 kB / 488 MB, free: 3.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4695, allocations: 0 / 488 MB, free: 3.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.4697, allocations: 97.36 kB / 488.1 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.4699, allocations: 32.88 kB / 488.2 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.4708, allocations: 0.5064 MB / 488.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.471, allocations: 0.7744 MB / 489.4 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.4711, allocations: 29.84 kB / 489.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.4712, allocations: 77.03 kB / 489.5 MB, free: 2.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4712, allocations: 4 kB / 489.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.4931, allocations: 4.102 MB / 493.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.4933, allocations: 137.5 kB / 493.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.142, allocations: 6.125 kB / 493.8 MB, free: 13.88 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)