Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 285.4 MB / 298 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 176.8 kB / 366.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 0.6248 GB, free: 7.711 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008603/0.0008603, allocations: 94.58 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.416e-05, allocations: 8 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6849/0.685, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9827/1.668, allocations: 362.9 MB / 1.325 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.668, allocations: 93.25 kB / 1.325 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02012/1.688, allocations: 9.363 MB / 1.335 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.834e-06/1.688, allocations: 0 / 1.335 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.688, allocations: 7.906 kB / 1.335 GB, free: 177.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005347/1.689, allocations: 456 kB / 1.335 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.689, allocations: 11.75 kB / 1.335 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/1.689, allocations: 42.23 kB / 1.335 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/1.689, allocations: 22.83 kB / 1.335 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/1.689, allocations: 243.6 kB / 1.335 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/1.689, allocations: 5.625 kB / 1.335 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/1.689, allocations: 7.922 kB / 1.335 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/1.689, allocations: 106.2 kB / 1.335 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.689, allocations: 0 / 1.335 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/1.69, allocations: 7.531 kB / 1.335 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/1.69, allocations: 7.938 kB / 1.336 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/1.69, allocations: 84.2 kB / 1.336 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/1.69, allocations: 459.7 kB / 1.336 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/1.691, allocations: 131.7 kB / 1.336 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/1.691, allocations: 77.89 kB / 1.336 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/1.691, allocations: 3.938 kB / 1.336 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/1.691, allocations: 33.88 kB / 1.336 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.756e-06/1.691, allocations: 0 / 1.336 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0003158/1.691, allocations: 163.1 kB / 1.336 GB, free: 176 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/1.691, allocations: 51.41 kB / 1.336 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/1.691, allocations: 187.7 kB / 1.337 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/1.691, allocations: 25.7 kB / 1.337 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/1.691, allocations: 128.2 kB / 1.337 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/1.691, allocations: 38.17 kB / 1.337 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/1.691, allocations: 11.25 kB / 1.337 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.74e-05/1.691, allocations: 325.3 kB / 1.337 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/1.692, allocations: 53.25 kB / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/1.692, allocations: 45.23 kB / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/1.692, allocations: 49.97 kB / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.692, allocations: 0 / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002175/1.692, allocations: 161.5 kB / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.692, allocations: 7.906 kB / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/1.692, allocations: 0 / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.692, allocations: 7.891 kB / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/1.692, allocations: 39.48 kB / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.692, allocations: 0 / 1.337 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/1.692, allocations: 23.14 kB / 1.338 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/1.692, allocations: 7.922 kB / 1.338 GB, free: 175.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.627e-05/1.692, allocations: 112.9 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/1.692, allocations: 19.66 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/1.693, allocations: 30.19 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.693, allocations: 0 / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.693, allocations: 3.953 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.693, allocations: 7.359 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/1.693, allocations: 252.8 kB / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.693, allocations: 4 kB / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/1.693, allocations: 39.33 kB / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.693, allocations: 0 / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.693, allocations: 3.906 kB / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.693, allocations: 0 / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.693, allocations: 0 / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/1.693, allocations: 269.3 kB / 1.338 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/1.693, allocations: 111.7 kB / 1.338 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/1.693, allocations: 3.984 kB / 1.338 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/1.694, allocations: 23.16 kB / 1.338 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/1.694, allocations: 7.953 kB / 1.338 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/1.694, allocations: 3.906 kB / 1.338 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.937e-05/1.694, allocations: 154 kB / 1.339 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/1.694, allocations: 4 kB / 1.339 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002642/1.694, allocations: 42.64 kB / 1.339 GB, free: 174.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0005174/1.695, allocations: 0.8556 MB / 1.339 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002065/1.695, allocations: 118.9 kB / 1.34 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.695, allocations: 0 / 1.34 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/1.695, allocations: 64.42 kB / 1.34 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/1.695, allocations: 25.09 kB / 1.34 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/1.696, allocations: 289.5 kB / 1.34 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/1.696, allocations: 0.7305 MB / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001546/1.696, allocations: 43.89 kB / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/1.696, allocations: 52.16 kB / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/1.696, allocations: 0 / 1.341 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/1.711, allocations: 4.46 MB / 1.345 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.711, allocations: 185.3 kB / 1.345 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/3.442, allocations: 5.781 kB / 1.345 GB, free: 170.5 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)