Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001547, allocations: 185 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009469/0.0009468, allocations: 95.42 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005832/0.0005833, allocations: 14.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2639, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001757/0.2657, allocations: 1.317 MB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.714/0.9797, allocations: 127.9 MB / 1.106 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.98, allocations: 1.25 kB / 1.106 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.9803, allocations: 8.203 kB / 1.106 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.9807, allocations: 43.52 kB / 1.106 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000763/0.9815, allocations: 127.6 kB / 1.106 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.9818, allocations: 80.17 kB / 1.106 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.982, allocations: 26.28 kB / 1.106 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.9823, allocations: 86.17 kB / 1.106 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.9824, allocations: 39.48 kB / 1.106 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.9824, allocations: 2.625 kB / 1.106 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004936/0.9829, allocations: 188.4 kB / 1.106 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.983, allocations: 23.89 kB / 1.106 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.983, allocations: 39.42 kB / 1.106 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.9834, allocations: 124.8 kB / 1.106 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.9834, allocations: 0 / 1.106 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.16e-06/0.9834, allocations: 0 / 1.106 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.9834, allocations: 1.859 kB / 1.106 GB, free: 2.297 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001097/0.9845, allocations: 445.6 kB / 1.107 GB, free: 17.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.9846, allocations: 13.17 kB / 1.107 GB, free: 17.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.044e-05/0.9847, allocations: 41.06 kB / 1.107 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.9857, allocations: 76.67 kB / 1.107 GB, free: 17.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.986, allocations: 203.2 kB / 1.107 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.9861, allocations: 5.25 kB / 1.107 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.9861, allocations: 7 kB / 1.107 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.9866, allocations: 157.5 kB / 1.107 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.9866, allocations: 0 / 1.107 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.9867, allocations: 1.859 kB / 1.107 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.9867, allocations: 5.75 kB / 1.107 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.9873, allocations: 159 kB / 1.107 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.9882, allocations: 411.7 kB / 1.108 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.9889, allocations: 262.2 kB / 1.108 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.989, allocations: 3.094 kB / 1.108 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.989, allocations: 36.58 kB / 1.108 GB, free: 17.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.989, allocations: 1.031 kB / 1.108 GB, free: 17.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0009062/0.9899, allocations: 243.2 kB / 1.108 GB, free: 17.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.99, allocations: 56.34 kB / 1.108 GB, free: 17.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.9902, allocations: 146.6 kB / 1.109 GB, free: 16.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.9902, allocations: 32.42 kB / 1.109 GB, free: 16.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.9903, allocations: 109 kB / 1.109 GB, free: 16.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.9903, allocations: 23.92 kB / 1.109 GB, free: 16.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.9903, allocations: 3.938 kB / 1.109 GB, free: 16.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.9905, allocations: 323.2 kB / 1.109 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.9908, allocations: 64.06 kB / 1.109 GB, free: 16.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.9911, allocations: 87.66 kB / 1.109 GB, free: 16.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.9913, allocations: 74.69 kB / 1.109 GB, free: 16.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9913, allocations: 0 / 1.109 GB, free: 16.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005491/0.9919, allocations: 176.8 kB / 1.109 GB, free: 16.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.9919, allocations: 9.281 kB / 1.109 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.992, allocations: 5.531 kB / 1.109 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.992, allocations: 0 / 1.109 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.9922, allocations: 34.78 kB / 1.109 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.9922, allocations: 1.094 kB / 1.109 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.9925, allocations: 28.03 kB / 1.11 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.9925, allocations: 8.344 kB / 1.11 GB, free: 16.38 MB / 0.698 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 (8): * Single equations (assignments): 8 * 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.0001356/0.9926, allocations: 119.8 kB / 1.11 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.9927, allocations: 12.27 kB / 1.11 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.9928, allocations: 15.95 kB / 1.11 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9928, allocations: 1.094 kB / 1.11 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9928, allocations: 4 kB / 1.11 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.9928, allocations: 2.859 kB / 1.11 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009698/0.9938, allocations: 490.2 kB / 1.11 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.9938, allocations: 0 / 1.11 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.994, allocations: 31.53 kB / 1.11 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.994, allocations: 6.391 kB / 1.11 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.994, allocations: 6.844 kB / 1.11 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.9941, allocations: 0 / 1.11 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.9941, allocations: 5.016 kB / 1.11 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.9946, allocations: 275.1 kB / 1.11 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.9947, allocations: 84.59 kB / 1.111 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.9947, allocations: 2.406 kB / 1.111 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.9949, allocations: 25.98 kB / 1.111 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.995, allocations: 12.66 kB / 1.111 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.995, allocations: 6.828 kB / 1.111 GB, free: 15.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.851e-05/0.9951, allocations: 116.2 kB / 1.111 GB, free: 15.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9951, allocations: 0 / 1.111 GB, free: 15.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002971/0.9954, allocations: 26.94 kB / 1.111 GB, free: 15.61 MB / 0.698 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 (8): * Single equations (assignments): 8 * 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.001021/0.9965, allocations: 0.8304 MB / 1.112 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.997, allocations: 152.6 kB / 1.112 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9971, allocations: 4 kB / 1.112 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.9973, allocations: 78.44 kB / 1.112 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.9976, allocations: 26.19 kB / 1.112 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.9996, allocations: 0.8214 MB / 1.113 GB, free: 14.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/1, allocations: 0.7042 MB / 1.113 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001864/1, allocations: 27.58 kB / 1.113 GB, free: 13.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/1, allocations: 30.84 kB / 1.113 GB, free: 13.8 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/1, allocations: 0 / 1.113 GB, free: 13.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/1.015, allocations: 2.99 MB / 1.116 GB, free: 13.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/1.016, allocations: 203.1 kB / 1.116 GB, free: 13.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.695, allocations: 1.562 kB / 1.116 GB, free: 13.32 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)