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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.466/2.466, allocations: 393.5 MB / 408.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 187.6 kB / 0.4901 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.702/1.702, allocations: 223.1 MB / 0.7992 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009565/0.0009566, allocations: 92.33 kB / 0.9396 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004747, allocations: 15.38 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3171, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.5388, allocations: 177.2 MB / 1.402 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.5391, allocations: 75.95 kB / 1.402 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.005855/0.545, allocations: 2.206 MB / 1.405 GB, free: 5.762 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.914e-06/0.545, allocations: 0 / 1.405 GB, free: 5.762 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.545, allocations: 0 / 1.405 GB, free: 5.762 MB / 0.9011 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.0005252/0.5455, allocations: 383.2 kB / 1.405 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5456, allocations: 12.56 kB / 1.405 GB, free: 5.328 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.5456, allocations: 38.64 kB / 1.405 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.5457, allocations: 7.906 kB / 1.405 GB, free: 5.273 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.5458, allocations: 167 kB / 1.405 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5458, allocations: 4 kB / 1.405 GB, free: 5.066 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.5459, allocations: 0 / 1.405 GB, free: 5.066 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.5462, allocations: 89.64 kB / 1.405 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5462, allocations: 0 / 1.405 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5462, allocations: 0 / 1.405 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.5462, allocations: 3.953 kB / 1.405 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.5465, allocations: 95.86 kB / 1.405 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.5469, allocations: 284.8 kB / 1.406 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.5472, allocations: 70.53 kB / 1.406 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.5473, allocations: 89.16 kB / 1.406 GB, free: 4.363 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.5474, allocations: 42.42 kB / 1.406 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5474, allocations: 0 / 1.406 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0005619/0.548, allocations: 165.5 kB / 1.406 GB, free: 4.145 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.548, allocations: 51.41 kB / 1.406 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.5481, allocations: 109 kB / 1.406 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.5481, allocations: 25.7 kB / 1.406 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.5482, allocations: 92.12 kB / 1.406 GB, free: 3.844 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.5482, allocations: 3.906 kB / 1.406 GB, free: 3.84 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.5482, allocations: 4 kB / 1.406 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5483, allocations: 314.8 kB / 1.407 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.5485, allocations: 47.95 kB / 1.407 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.5486, allocations: 43.91 kB / 1.407 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.5488, allocations: 43.95 kB / 1.407 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5488, allocations: 3.938 kB / 1.407 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003387/0.5491, allocations: 121.5 kB / 1.407 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5492, allocations: 11.95 kB / 1.407 GB, free: 3.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5492, allocations: 4 kB / 1.407 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5492, allocations: 0 / 1.407 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.5493, allocations: 19.98 kB / 1.407 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5494, allocations: 3.984 kB / 1.407 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.424e-05/0.5495, allocations: 21.64 kB / 1.407 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.5495, allocations: 4.328 kB / 1.407 GB, free: 3.195 MB / 0.9011 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 7.699e-05/0.5496, allocations: 117.8 kB / 1.407 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.5496, allocations: 0 / 1.407 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.55, allocations: 141.4 kB / 1.407 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.55, allocations: 0 / 1.407 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.55, allocations: 0 / 1.407 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.55, allocations: 0 / 1.407 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.5502, allocations: 177.5 kB / 1.407 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5502, allocations: 0 / 1.407 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.5503, allocations: 23.98 kB / 1.407 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5503, allocations: 0 / 1.407 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.5503, allocations: 0 / 1.407 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5504, allocations: 7.938 kB / 1.407 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5504, allocations: 0 / 1.407 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.5508, allocations: 215.4 kB / 1.407 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.5508, allocations: 85.02 kB / 1.408 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.5508, allocations: 0 / 1.408 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.551, allocations: 23.97 kB / 1.408 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.551, allocations: 3.953 kB / 1.408 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.551, allocations: 8 kB / 1.408 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.5511, allocations: 91.27 kB / 1.408 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5511, allocations: 3.938 kB / 1.408 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002321/0.5513, allocations: 16 kB / 1.408 GB, free: 2.199 MB / 0.9011 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.0008001/0.5521, allocations: 0.7835 MB / 1.408 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.5525, allocations: 91.86 kB / 1.409 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5525, allocations: 4 kB / 1.409 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.5527, allocations: 43.97 kB / 1.409 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.5529, allocations: 18.67 kB / 1.409 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.554, allocations: 0.5724 MB / 1.409 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.5543, allocations: 0.6887 MB / 1.41 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.939e-05/0.5543, allocations: 4 kB / 1.41 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.5544, allocations: 19.44 kB / 1.41 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of SimCode: time 3.21e-07/0.5544, allocations: 0 / 1.41 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.568, allocations: 2.27 MB / 1.412 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.5682, allocations: 182.4 kB / 1.412 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.178, allocations: 2.5 kB / 1.412 GB, free: 13.52 MB / 0.9167 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) 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