Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001151/0.001151, allocations: 99.86 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.001092/0.001092, allocations: 177.3 kB / 15.95 MB, free: 216 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.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.4/2.4, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 16 kB / 0.8375 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6644/0.6647, allocations: 146.8 MB / 0.9809 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004226/0.669, allocations: 3.889 MB / 0.9847 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.6699, allocations: 0.718 MB / 0.9854 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.6699, allocations: 0 / 0.9854 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.6701, allocations: 19.91 kB / 0.9854 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.6701, allocations: 35.86 kB / 0.9854 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.6705, allocations: 135.6 kB / 0.9856 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.6706, allocations: 107.8 kB / 0.9857 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.6707, allocations: 21.09 kB / 0.9857 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.6709, allocations: 71.75 kB / 0.9857 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.671, allocations: 71.73 kB / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.671, allocations: 8 kB / 0.9858 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.6712, allocations: 119.8 kB / 0.9859 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.6713, allocations: 27.89 kB / 0.986 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.6713, allocations: 49.64 kB / 0.986 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.6715, allocations: 145.9 kB / 0.9861 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.6716, allocations: 0 / 0.9861 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6716, allocations: 4 kB / 0.9862 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6716, allocations: 0 / 0.9862 GB, free: 0.9297 MB / 0.7325 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.0007553/0.6723, allocations: 470.8 kB / 0.9866 GB, free: 432 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6724, allocations: 12.03 kB / 0.9866 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.6724, allocations: 34.56 kB / 0.9866 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.6725, allocations: 19.89 kB / 0.9867 GB, free: 356 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.6726, allocations: 194.6 kB / 0.9869 GB, free: 120 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.6726, allocations: 8 kB / 0.9869 GB, free: 112 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.6726, allocations: 12 kB / 0.9869 GB, free: 100 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.673, allocations: 127.3 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.673, allocations: 4 kB / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.673, allocations: 4 kB / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.673, allocations: 0 / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.6734, allocations: 163.8 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.6744, allocations: 480.4 kB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.6747, allocations: 130.5 kB / 0.9877 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.6759, allocations: 0.9568 MB / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.6759, allocations: 42.5 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.6759, allocations: 3.938 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0006748/0.6766, allocations: 245.3 kB / 0.989 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.6767, allocations: 51.41 kB / 0.989 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.6768, allocations: 159.4 kB / 0.9892 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.6768, allocations: 29.7 kB / 0.9892 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.6769, allocations: 108.3 kB / 0.9893 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.6769, allocations: 43.44 kB / 0.9893 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.6769, allocations: 8 kB / 0.9893 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6771, allocations: 318.8 kB / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.6773, allocations: 95.88 kB / 0.9897 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.6775, allocations: 116.9 kB / 0.9898 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.6778, allocations: 98.12 kB / 0.9899 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6778, allocations: 0 / 0.9899 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005542/0.6783, allocations: 261.2 kB / 0.9902 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6784, allocations: 4 kB / 0.9902 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.6784, allocations: 4 kB / 0.9902 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6784, allocations: 3.953 kB / 0.9902 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.6787, allocations: 67.89 kB / 0.9903 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6787, allocations: 0 / 0.9903 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.6788, allocations: 39.83 kB / 0.9903 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.6789, allocations: 8 kB / 0.9903 GB, free: 12.31 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.675e-05/0.679, allocations: 125.8 kB / 0.9904 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.679, allocations: 7.906 kB / 0.9904 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.6795, allocations: 203.3 kB / 0.9906 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.6795, allocations: 0 / 0.9906 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6795, allocations: 3.953 kB / 0.9906 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6795, allocations: 4 kB / 0.9906 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.6798, allocations: 213.5 kB / 0.9908 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6798, allocations: 0 / 0.9908 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.6799, allocations: 39.91 kB / 0.9909 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6799, allocations: 0 / 0.9909 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.68, allocations: 3.938 kB / 0.9909 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.68, allocations: 4 kB / 0.9909 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.68, allocations: 0 / 0.9909 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.6804, allocations: 291.2 kB / 0.9912 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.6805, allocations: 96.94 kB / 0.9913 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.6805, allocations: 0 / 0.9913 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.6807, allocations: 27.97 kB / 0.9913 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.6807, allocations: 7.984 kB / 0.9913 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.6807, allocations: 4 kB / 0.9913 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.555e-05/0.6808, allocations: 132.8 kB / 0.9914 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6808, allocations: 0 / 0.9914 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003092/0.6811, allocations: 56.38 kB / 0.9915 GB, free: 11.02 MB / 0.7481 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0008672/0.682, allocations: 0.8722 MB / 0.9923 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004771/0.6825, allocations: 193.6 kB / 0.9925 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6825, allocations: 0 / 0.9925 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.6827, allocations: 75.95 kB / 0.9926 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.683, allocations: 21.53 kB / 0.9926 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.6839, allocations: 1.054 MB / 0.9936 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.6842, allocations: 0.7087 MB / 0.9943 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.637e-05/0.6843, allocations: 21.45 kB / 0.9943 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.6843, allocations: 31.44 kB / 0.9944 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.6844, allocations: 0 / 0.9944 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8764/1.561, allocations: 3.95 MB / 0.9982 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03443/1.595, allocations: 213.9 kB / 0.9984 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.58/6.176, allocations: 0 / 0.9984 GB, free: 3.941 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat does not exist to compare? outputFormat=mat