Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.001867/0.001867, 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.001939/0.001939, 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 2.689/2.689, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.578/4.578, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000598/0.0005981, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578/1.579, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003224/1.582, allocations: 1.19 MB / 0.982 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2591/1.841, allocations: 112 MB / 1.091 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/1.841, allocations: 4 kB / 1.091 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/1.841, allocations: 3.984 kB / 1.091 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/1.841, allocations: 11.92 kB / 1.091 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/1.842, allocations: 51.91 kB / 1.091 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/1.842, allocations: 35.89 kB / 1.091 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/1.842, allocations: 11.98 kB / 1.091 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/1.843, allocations: 19.92 kB / 1.092 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/1.843, allocations: 19.92 kB / 1.092 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/1.843, allocations: 3.828 kB / 1.092 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/1.843, allocations: 23.97 kB / 1.092 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/1.843, allocations: 0 / 1.092 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/1.843, allocations: 37.64 kB / 1.092 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/1.843, allocations: 34.19 kB / 1.092 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.843, allocations: 0 / 1.092 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.507e-06/1.843, allocations: 0 / 1.092 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.673e-06/1.843, allocations: 0 / 1.092 GB, free: 4.562 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008348/1.844, allocations: 384.8 kB / 1.092 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 8.113e-05/1.844, allocations: 8.031 kB / 1.092 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/1.844, allocations: 38.55 kB / 1.092 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/1.844, allocations: 0 / 1.092 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/1.844, allocations: 171 kB / 1.092 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/1.844, allocations: 4 kB / 1.092 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/1.844, allocations: 11.89 kB / 1.092 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/1.845, allocations: 93.61 kB / 1.092 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.845, allocations: 0 / 1.092 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.845, allocations: 0 / 1.092 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.845, allocations: 8 kB / 1.092 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/1.845, allocations: 91.92 kB / 1.092 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/1.846, allocations: 284.7 kB / 1.093 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/1.846, allocations: 70.48 kB / 1.093 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/1.847, allocations: 89.19 kB / 1.093 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.847, allocations: 30.56 kB / 1.093 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 3.897e-06/1.847, allocations: 3.984 kB / 1.093 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000939/1.848, allocations: 165.6 kB / 1.093 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/1.848, allocations: 55.34 kB / 1.093 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/1.848, allocations: 117.8 kB / 1.093 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/1.848, allocations: 29.64 kB / 1.093 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/1.848, allocations: 96.06 kB / 1.093 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/1.848, allocations: 11.81 kB / 1.093 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/1.848, allocations: 0 / 1.093 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.848, allocations: 322.8 kB / 1.094 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/1.849, allocations: 43.95 kB / 1.094 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/1.849, allocations: 39.97 kB / 1.094 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/1.849, allocations: 43.95 kB / 1.094 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.849, allocations: 0 / 1.094 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000493/1.85, allocations: 117.6 kB / 1.094 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.85, allocations: 12 kB / 1.094 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.85, allocations: 0 / 1.094 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.85, allocations: 0 / 1.094 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/1.85, allocations: 23.92 kB / 1.094 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.85, allocations: 0 / 1.094 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/1.85, allocations: 27.97 kB / 1.094 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/1.85, allocations: 0 / 1.094 GB, free: 1.977 MB / 0.8419 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001409/1.85, allocations: 113.8 kB / 1.094 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/1.85, allocations: 3.906 kB / 1.094 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/1.851, allocations: 129.5 kB / 1.094 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.851, allocations: 0 / 1.094 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.851, allocations: 0 / 1.094 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.851, allocations: 0 / 1.094 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/1.851, allocations: 181.5 kB / 1.094 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.851, allocations: 0 / 1.094 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/1.851, allocations: 23.92 kB / 1.094 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.851, allocations: 4 kB / 1.094 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.851, allocations: 0 / 1.094 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.851, allocations: 0 / 1.094 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.851, allocations: 0 / 1.094 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/1.852, allocations: 219.4 kB / 1.095 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/1.852, allocations: 85.06 kB / 1.095 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/1.852, allocations: 4 kB / 1.095 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/1.852, allocations: 15.98 kB / 1.095 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/1.852, allocations: 7.984 kB / 1.095 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/1.852, allocations: 0 / 1.095 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.257e-05/1.852, allocations: 99.2 kB / 1.095 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/1.852, allocations: 0 / 1.095 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003593/1.853, allocations: 16 kB / 1.095 GB, free: 0.9883 MB / 0.8419 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 (3): * Single equations (assignments): 3 * 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.001056/1.854, allocations: 0.7673 MB / 1.096 GB, free: 196 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000481/1.854, allocations: 91.95 kB / 1.096 GB, free: 104 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.854, allocations: 3.938 kB / 1.096 GB, free: 100 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/1.855, allocations: 51.91 kB / 1.096 GB, free: 48 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/1.855, allocations: 11.98 kB / 1.096 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/1.857, allocations: 0.5794 MB / 1.096 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/1.857, allocations: 0.6848 MB / 1.097 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.041e-05/1.857, allocations: 8 kB / 1.097 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/1.857, allocations: 15.44 kB / 1.097 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/1.857, allocations: 0 / 1.097 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/1.883, allocations: 1.685 MB / 1.099 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004494/1.884, allocations: 198.1 kB / 1.099 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/4.875, allocations: 3.938 kB / 1.099 GB, free: 12.88 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat