Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.0008843/0.0008844, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001297/0.001297, allocations: 172.7 kB / 15.95 MB, free: 208 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.508/1.508, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.548/2.548, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004511, allocations: 12 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8927/0.8932, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1772/1.07, allocations: 146.5 MB / 1.124 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004904/1.075, allocations: 4.231 MB / 1.128 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/1.076, allocations: 11.94 kB / 1.128 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/1.076, allocations: 87.36 kB / 1.128 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000735/1.077, allocations: 250.8 kB / 1.129 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/1.078, allocations: 238.2 kB / 1.129 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006473/1.078, allocations: 0.6663 MB / 1.13 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/1.078, allocations: 157.2 kB / 1.13 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007865/1.079, allocations: 358.5 kB / 1.13 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/1.08, allocations: 183.3 kB / 1.13 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/1.08, allocations: 16 kB / 1.13 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/1.08, allocations: 71.92 kB / 1.13 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.782e-05/1.08, allocations: 71.78 kB / 1.13 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/1.08, allocations: 69.58 kB / 1.13 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/1.08, allocations: 219.4 kB / 1.131 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.08, allocations: 0 / 1.131 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.114e-06/1.08, allocations: 3.938 kB / 1.131 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.08, allocations: 0 / 1.131 GB, free: 12.73 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007469/1.081, allocations: 498.5 kB / 1.131 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.081, allocations: 8.031 kB / 1.131 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.846e-05/1.081, allocations: 62.47 kB / 1.131 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/1.081, allocations: 23.72 kB / 1.131 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/1.082, allocations: 263.5 kB / 1.131 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/1.082, allocations: 12 kB / 1.131 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/1.082, allocations: 23.98 kB / 1.131 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/1.082, allocations: 273.8 kB / 1.132 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.082, allocations: 0 / 1.132 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/1.082, allocations: 12 kB / 1.132 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/1.082, allocations: 4 kB / 1.132 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/1.082, allocations: 159.7 kB / 1.132 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/1.084, allocations: 1.375 MB / 1.133 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/1.084, allocations: 183.7 kB / 1.133 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/1.084, allocations: 97.11 kB / 1.134 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/1.084, allocations: 137 kB / 1.134 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.084, allocations: 42.56 kB / 1.134 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/1.084, allocations: 0 / 1.134 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0005761/1.085, allocations: 225.6 kB / 1.134 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/1.085, allocations: 183.9 kB / 1.134 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/1.085, allocations: 290.9 kB / 1.134 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/1.085, allocations: 29.7 kB / 1.134 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/1.086, allocations: 151.8 kB / 1.135 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/1.086, allocations: 31.69 kB / 1.135 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/1.086, allocations: 8 kB / 1.135 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.086, allocations: 334.8 kB / 1.135 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/1.086, allocations: 51.95 kB / 1.135 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/1.086, allocations: 127.6 kB / 1.135 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/1.086, allocations: 67.95 kB / 1.135 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.086, allocations: 0 / 1.135 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003616/1.087, allocations: 193.2 kB / 1.135 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.087, allocations: 8 kB / 1.135 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.087, allocations: 0 / 1.135 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.087, allocations: 4 kB / 1.135 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/1.087, allocations: 43.91 kB / 1.135 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/1.087, allocations: 0 / 1.135 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/1.087, allocations: 35.86 kB / 1.135 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/1.087, allocations: 8 kB / 1.135 GB, free: 7.398 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 0.0001275/1.087, allocations: 149.7 kB / 1.136 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.087, allocations: 23.72 kB / 1.136 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/1.088, allocations: 147.2 kB / 1.136 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.088, allocations: 4 kB / 1.136 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.088, allocations: 4.062 kB / 1.136 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.088, allocations: 0 / 1.136 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/1.088, allocations: 0.7768 MB / 1.136 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.088, allocations: 3.984 kB / 1.136 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.088, allocations: 23.98 kB / 1.137 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/1.089, allocations: 4 kB / 1.137 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/1.089, allocations: 4 kB / 1.137 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.089, allocations: 0 / 1.137 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.089, allocations: 7.953 kB / 1.137 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/1.089, allocations: 355.5 kB / 1.137 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/1.089, allocations: 108.8 kB / 1.137 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/1.089, allocations: 4 kB / 1.137 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/1.089, allocations: 19.92 kB / 1.137 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/1.089, allocations: 16 kB / 1.137 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/1.089, allocations: 4 kB / 1.137 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001757/1.09, allocations: 205.9 kB / 1.137 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/1.09, allocations: 0 / 1.137 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003294/1.09, allocations: 63.84 kB / 1.137 GB, free: 5.359 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0009773/1.091, allocations: 0.9257 MB / 1.138 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003185/1.091, allocations: 131.9 kB / 1.138 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.091, allocations: 0 / 1.138 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/1.091, allocations: 64.64 kB / 1.138 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/1.092, allocations: 124.7 kB / 1.138 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/1.094, allocations: 1.476 MB / 1.14 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/1.094, allocations: 0.7599 MB / 1.141 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001516/1.095, allocations: 46.27 kB / 1.141 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/1.095, allocations: 71.41 kB / 1.141 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of SimCode: time 7.52e-07/1.095, allocations: 3.938 kB / 1.141 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/1.113, allocations: 6.331 MB / 1.147 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/1.114, allocations: 229.1 kB / 1.147 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.989, allocations: 0 / 1.147 GB, free: 11.24 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat