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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, 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.02394/0.02394, allocations: 4.542 MB / 12.61 MB, free: 296 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.49/1.49, allocations: 221.5 MB / 235.6 MB, free: 2.262 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.0008521/0.0008524, allocations: 95.88 kB / 287.6 MB, free: 5.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.24e-05/1.242e-05, allocations: 0 / 345.4 MB, free: 7.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09243, allocations: 51.49 MB / 396.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2869/0.3794, allocations: 78.24 MB / 475.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001354/0.3796, allocations: 50.72 kB / 475.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.3946, allocations: 7.125 MB / 482.3 MB, free: 8.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3947, allocations: 0 / 482.3 MB, free: 8.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3947, allocations: 8 kB / 482.3 MB, free: 8.547 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008189/0.3955, allocations: 0.642 MB / 482.9 MB, free: 7.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3956, allocations: 8.031 kB / 482.9 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.3956, allocations: 42.62 kB / 483 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.3959, allocations: 313.8 kB / 483.3 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.396, allocations: 46.47 kB / 483.3 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.3961, allocations: 20 kB / 483.4 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003395/0.3964, allocations: 226.6 kB / 483.6 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.3968, allocations: 309 kB / 483.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3969, allocations: 1.219 kB / 483.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.3969, allocations: 0 / 483.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3969, allocations: 12 kB / 483.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3984, allocations: 1.47 MB / 485.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.399, allocations: 293.2 kB / 485.7 MB, free: 5.684 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.3991, allocations: 149.3 kB / 485.8 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.3992, allocations: 4 kB / 485.8 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.3994, allocations: 195 kB / 486 MB, free: 5.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.3994, allocations: 0 / 486 MB, free: 5.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003912/0.3998, allocations: 263.5 kB / 486.3 MB, free: 5.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.3999, allocations: 81.11 kB / 486.3 MB, free: 5.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4, allocations: 220.3 kB / 486.5 MB, free: 4.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4001, allocations: 32.95 kB / 486.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.4001, allocations: 195.2 kB / 486.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.4002, allocations: 93.45 kB / 486.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.4002, allocations: 0 / 486.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.4003, allocations: 341.4 kB / 487.2 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4004, allocations: 105.9 kB / 487.3 MB, free: 4.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.4006, allocations: 149 kB / 487.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.4007, allocations: 124.1 kB / 487.6 MB, free: 4.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4007, allocations: 0 / 487.6 MB, free: 4.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003825/0.4011, allocations: 319.2 kB / 487.9 MB, free: 3.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4011, allocations: 37.64 kB / 487.9 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4012, allocations: 0 / 487.9 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4012, allocations: 7.984 kB / 487.9 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/0.4021, allocations: 278.6 kB / 488.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006331/0.4028, allocations: 1.384 MB / 489.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.4031, allocations: 51.72 kB / 489.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.4031, allocations: 15.52 kB / 489.6 MB, free: 2.055 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: bui.hva.QHeaCoo:VARIABLE(unit = "W" ) "Total heating power" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.4032, allocations: 118 kB / 489.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003146/0.4035, allocations: 259.3 kB / 490 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.4036, allocations: 31.58 kB / 490 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.404, allocations: 277.8 kB / 490.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.404, allocations: 0 / 490.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.404, allocations: 11.92 kB / 490.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.404, allocations: 0 / 490.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.4043, allocations: 397.4 kB / 490.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4043, allocations: 0 / 490.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/0.4053, allocations: 263.4 kB / 491 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4053, allocations: 4 kB / 491 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.4053, allocations: 12.08 kB / 491 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006849/0.406, allocations: 1.373 MB / 492.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.406, allocations: 0 / 492.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.4066, allocations: 459.4 kB / 492.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.4067, allocations: 108.7 kB / 492.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.4067, allocations: 7.938 kB / 492.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.4069, allocations: 43.12 kB / 493 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.407, allocations: 27.89 kB / 493 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4071, allocations: 8 kB / 493 MB, free: 14.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.4072, allocations: 180.7 kB / 493.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4072, allocations: 0 / 493.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004171/0.4077, allocations: 87.66 kB / 493.3 MB, free: 14.72 MB / 362.7 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) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008631/0.4085, allocations: 1.062 MB / 494.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.4096, allocations: 475.8 kB / 494.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4096, allocations: 4 kB / 494.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.4104, allocations: 298.2 kB / 495.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.4107, allocations: 35.97 kB / 495.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.4124, allocations: 0.7945 MB / 495.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.4128, allocations: 0.803 MB / 496.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.413, allocations: 42.03 kB / 496.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.4131, allocations: 102.7 kB / 496.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4131, allocations: 0 / 496.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.438, allocations: 5.459 MB / 0.4905 GB, free: 6.098 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.4383, allocations: 140 kB / 0.4907 GB, free: 5.902 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.216, allocations: 0 / 0.4907 GB, free: 5.902 MB / 362.7 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/linux/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)