Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.692/2.692, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001087/0.001087, allocations: 185.1 kB / 498.1 MB, free: 5.723 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.489/1.489, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001142/0.001142, allocations: 99.77 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 10.22 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2601, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.4472, allocations: 149.6 MB / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4476, allocations: 79.95 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004342/0.4519, allocations: 1.514 MB / 1.371 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.452, allocations: 4 kB / 1.371 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.452, allocations: 0 / 1.371 GB, free: 10.86 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000361/0.4523, allocations: 343.3 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.4524, allocations: 8.031 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.4524, allocations: 30.56 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.4527, allocations: 27.83 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.4528, allocations: 163 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4529, allocations: 8 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.4529, allocations: 4 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.4531, allocations: 45.62 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4531, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4531, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4531, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.4532, allocations: 15.98 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.4534, allocations: 161.6 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.4555, allocations: 274.5 kB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.4555, allocations: 3.938 kB / 1.372 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.4555, allocations: 34.56 kB / 1.372 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.4555, allocations: 7.938 kB / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.000206/0.4558, allocations: 57.78 kB / 1.372 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.4558, allocations: 55.41 kB / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.4559, allocations: 85 kB / 1.372 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4559, allocations: 25.7 kB / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.456, allocations: 84.12 kB / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.456, allocations: 15.81 kB / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.456, allocations: 4.125 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4562, allocations: 314.8 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.4562, allocations: 11.94 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.4562, allocations: 7.984 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.4562, allocations: 8 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4563, allocations: 0 / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.454e-05/0.4564, allocations: 53.69 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4564, allocations: 4 kB / 1.372 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4564, allocations: 4 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4564, allocations: 4.328 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.4565, allocations: 8 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4565, allocations: 0 / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.4566, allocations: 0 / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4566, allocations: 4 kB / 1.372 GB, free: 8.801 MB / 0.8698 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 (4): * Single equations (assignments): 4 * 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.02e-05/0.4567, allocations: 113.7 kB / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.4567, allocations: 0 / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.4567, allocations: 19.47 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4567, allocations: 0 / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4567, allocations: 4 kB / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4568, allocations: 0 / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.4569, allocations: 161.6 kB / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4569, allocations: 0 / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.457, allocations: 8 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.457, allocations: 3.938 kB / 1.373 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.457, allocations: 4 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.457, allocations: 0 / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.457, allocations: 0 / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.4572, allocations: 81.03 kB / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.4573, allocations: 89.05 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.4573, allocations: 4 kB / 1.373 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.4573, allocations: 0 / 1.373 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.4574, allocations: 11.94 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.4574, allocations: 0 / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.19e-05/0.4574, allocations: 75.28 kB / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4574, allocations: 0 / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001971/0.4576, allocations: 11.94 kB / 1.373 GB, free: 8.125 MB / 0.8698 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 (4): * Single equations (assignments): 4 * 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.0004457/0.4581, allocations: 0.6201 MB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.63e-05/0.4582, allocations: 27.94 kB / 1.374 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4582, allocations: 0 / 1.374 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.4582, allocations: 11.98 kB / 1.374 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.4584, allocations: 20.7 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.4589, allocations: 158.3 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4592, allocations: 0.677 MB / 1.374 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.649e-05/0.4592, allocations: 8 kB / 1.374 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.4593, allocations: 7.438 kB / 1.374 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/0.4593, allocations: 0 / 1.374 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.4723, allocations: 1.075 MB / 1.375 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/0.4726, allocations: 202.2 kB / 1.376 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.109, allocations: 0 / 1.376 GB, free: 5.309 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat does not exist to compare? outputFormat=mat