Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",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.001218/0.001218, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009938/0.0009938, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003853, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6702, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0005557/0.6708, allocations: 259.8 kB / 0.9538 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001471/0.671, allocations: 39.81 kB / 0.9539 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.671, allocations: 0 / 0.9539 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.671, allocations: 0 / 0.9539 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.6712, allocations: 8.922 kB / 0.9539 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.906e-05/0.6712, allocations: 6.625 kB / 0.9539 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.309e-05/0.6713, allocations: 6.562 kB / 0.9539 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.6713, allocations: 1 kB / 0.9539 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.6714, allocations: 14.53 kB / 0.9539 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.6714, allocations: 8.062 kB / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.6715, allocations: 1.469 kB / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-06/0.6715, allocations: 0 / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.6715, allocations: 6.672 kB / 0.9539 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.6715, allocations: 29.64 kB / 0.9539 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.238e-05/0.6716, allocations: 3.719 kB / 0.954 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.6716, allocations: 0 / 0.954 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6716, allocations: 0 / 0.954 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6716, allocations: 5.062 kB / 0.954 GB, free: 7.809 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002706/0.6719, allocations: 330.5 kB / 0.9543 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6719, allocations: 9.938 kB / 0.9543 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.331e-05/0.6719, allocations: 30.56 kB / 0.9543 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.672, allocations: 4.922 kB / 0.9543 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.6721, allocations: 172.4 kB / 0.9545 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.6721, allocations: 0 / 0.9545 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.6721, allocations: 5.438 kB / 0.9545 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.528e-05/0.6722, allocations: 36.41 kB / 0.9545 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.6722, allocations: 4 kB / 0.9545 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.6722, allocations: 1.594 kB / 0.9545 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6722, allocations: 0 / 0.9545 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.6723, allocations: 14.84 kB / 0.9545 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.6724, allocations: 149.3 kB / 0.9547 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.384e-05/0.6724, allocations: 29.19 kB / 0.9547 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.6724, allocations: 1.438 kB / 0.9547 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.6724, allocations: 34.56 kB / 0.9547 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.6725, allocations: 0 / 0.9547 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001178/0.6726, allocations: 44.97 kB / 0.9548 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.6726, allocations: 51.41 kB / 0.9548 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.827e-05/0.6727, allocations: 108.4 kB / 0.9549 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.6727, allocations: 25.7 kB / 0.955 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.6727, allocations: 89.56 kB / 0.955 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.6727, allocations: 128 / 0.955 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.6727, allocations: 5.281 kB / 0.9551 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.6728, allocations: 320.2 kB / 0.9554 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.6728, allocations: 2.812 kB / 0.9554 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.6728, allocations: 17.52 kB / 0.9554 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.884e-05/0.6728, allocations: 3.438 kB / 0.9554 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6729, allocations: 0 / 0.9554 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.367e-05/0.6729, allocations: 57.59 kB / 0.9554 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6729, allocations: 5.688 kB / 0.9554 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.673, allocations: 1.188 kB / 0.9554 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.673, allocations: 0 / 0.9554 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.673, allocations: 3.906 kB / 0.9554 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.6731, allocations: 0 / 0.9554 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.6731, allocations: 5.516 kB / 0.9555 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.6731, allocations: 1.25 kB / 0.9555 GB, free: 6.148 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.442e-05/0.6731, allocations: 112.6 kB / 0.9556 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.6732, allocations: 5.531 kB / 0.9556 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.6732, allocations: 55.44 kB / 0.9556 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.6733, allocations: 0 / 0.9556 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6733, allocations: 1.375 kB / 0.9556 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6733, allocations: 3.984 kB / 0.9556 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.666e-05/0.6733, allocations: 158.7 kB / 0.9558 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6734, allocations: 0 / 0.9558 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.6734, allocations: 3.844 kB / 0.9558 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6734, allocations: 3.938 kB / 0.9558 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.6734, allocations: 5.062 kB / 0.9558 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.6734, allocations: 0 / 0.9558 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6734, allocations: 5.094 kB / 0.9558 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.792e-05/0.6735, allocations: 86.09 kB / 0.9559 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.6736, allocations: 79.64 kB / 0.956 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.6736, allocations: 4 kB / 0.956 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/0.6736, allocations: 1.531 kB / 0.956 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.6736, allocations: 5.234 kB / 0.956 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.6736, allocations: 11.98 kB / 0.956 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.922e-05/0.6737, allocations: 87.06 kB / 0.9561 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6737, allocations: 0 / 0.9561 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001829/0.6739, allocations: 2.312 kB / 0.9561 GB, free: 5.48 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.000231/0.6741, allocations: 0.6144 MB / 0.9567 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.164e-05/0.6742, allocations: 15.95 kB / 0.9567 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6742, allocations: 0 / 0.9567 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.6742, allocations: 5.844 kB / 0.9567 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.476e-05/0.6743, allocations: 1.5 kB / 0.9567 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.6748, allocations: 0.5374 MB / 0.9572 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.81e-05/0.6749, allocations: 0.6843 MB / 0.9579 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.6749, allocations: 2.562 kB / 0.9579 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.675, allocations: 8.781 kB / 0.9579 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.675, allocations: 0 / 0.9579 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.6851, allocations: 0.9598 MB / 0.9588 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.6854, allocations: 176.2 kB / 0.959 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.222, allocations: 3.938 kB / 0.959 GB, free: 2.93 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat does not exist to compare? outputFormat=mat