Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.0009375/0.0009375, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006688/0.006689, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004684, allocations: 13.34 kB / 0.6744 GB, free: 25.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2201, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001672/0.2218, allocations: 1.363 MB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5174/0.7393, allocations: 147.7 MB / 0.9335 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.7394, allocations: 0 / 0.9335 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.7395, allocations: 14.62 kB / 0.9335 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.7398, allocations: 31.83 kB / 0.9336 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.7401, allocations: 129.7 kB / 0.9337 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.7403, allocations: 123.5 kB / 0.9338 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.7404, allocations: 28.62 kB / 0.9338 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.7421, allocations: 146.8 kB / 0.934 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.7421, allocations: 37.67 kB / 0.934 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.7422, allocations: 2.906 kB / 0.934 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.7425, allocations: 182.2 kB / 0.9342 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.7425, allocations: 19.7 kB / 0.9342 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.7426, allocations: 64.66 kB / 0.9343 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.7429, allocations: 181.2 kB / 0.9344 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7429, allocations: 4 kB / 0.9344 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7429, allocations: 1.594 kB / 0.9344 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.7429, allocations: 0 / 0.9344 GB, free: 17.46 MB / 0.7325 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.0005206/0.7434, allocations: 437.2 kB / 0.9349 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.7435, allocations: 7.875 kB / 0.9349 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.7435, allocations: 43.22 kB / 0.9349 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/0.7443, allocations: 84.11 kB / 0.935 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.7445, allocations: 204.9 kB / 0.9352 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.7445, allocations: 13 kB / 0.9352 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.7446, allocations: 9.125 kB / 0.9352 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.745, allocations: 140.2 kB / 0.9353 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.745, allocations: 4 kB / 0.9353 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.745, allocations: 7.625 kB / 0.9353 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.745, allocations: 3.938 kB / 0.9354 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.7455, allocations: 160.1 kB / 0.9355 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.7462, allocations: 412.9 kB / 0.9359 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.7468, allocations: 261.2 kB / 0.9361 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.7471, allocations: 91.2 kB / 0.9362 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.7471, allocations: 5.109 kB / 0.9362 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.7471, allocations: 34.44 kB / 0.9363 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.7471, allocations: 4 kB / 0.9363 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007256/0.7479, allocations: 241.3 kB / 0.9365 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.748, allocations: 51.41 kB / 0.9366 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.7481, allocations: 151.5 kB / 0.9367 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.7481, allocations: 29.58 kB / 0.9367 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.7482, allocations: 98.89 kB / 0.9368 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.7482, allocations: 33.73 kB / 0.9369 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.7482, allocations: 9.719 kB / 0.9369 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7483, allocations: 329.9 kB / 0.9372 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.7486, allocations: 65.53 kB / 0.9372 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.7488, allocations: 91 kB / 0.9373 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.7492, allocations: 143 kB / 0.9375 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7492, allocations: 0 / 0.9375 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004563/0.7497, allocations: 184.7 kB / 0.9376 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.7497, allocations: 5.25 kB / 0.9376 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7497, allocations: 0 / 0.9376 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7497, allocations: 4 kB / 0.9377 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.7499, allocations: 32.31 kB / 0.9377 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7499, allocations: 1.031 kB / 0.9377 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.7501, allocations: 28.28 kB / 0.9377 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.7501, allocations: 6.391 kB / 0.9377 GB, free: 15.51 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.968e-05/0.7502, allocations: 124.7 kB / 0.9378 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.7502, allocations: 9.719 kB / 0.9378 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.7503, allocations: 18.02 kB / 0.9379 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7503, allocations: 0 / 0.9379 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.7503, allocations: 0 / 0.9379 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7503, allocations: 4.812 kB / 0.9379 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007207/0.751, allocations: 488.4 kB / 0.9383 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.751, allocations: 0 / 0.9383 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.7512, allocations: 34.17 kB / 0.9384 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7512, allocations: 4.859 kB / 0.9384 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.7512, allocations: 2.688 kB / 0.9384 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7512, allocations: 7.938 kB / 0.9384 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7512, allocations: 2.25 kB / 0.9384 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.7518, allocations: 282.3 kB / 0.9386 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.7518, allocations: 83.89 kB / 0.9387 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.7518, allocations: 3.938 kB / 0.9387 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.752, allocations: 37.12 kB / 0.9388 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.7521, allocations: 5.094 kB / 0.9388 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.7521, allocations: 2.75 kB / 0.9388 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.7521, allocations: 118.6 kB / 0.9389 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7521, allocations: 0 / 0.9389 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002498/0.7524, allocations: 28.31 kB / 0.9389 GB, free: 14.72 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008792/0.7533, allocations: 0.8312 MB / 0.9397 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.7538, allocations: 143.8 kB / 0.9399 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7538, allocations: 0 / 0.9399 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.7541, allocations: 79.77 kB / 0.9399 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.7544, allocations: 32.67 kB / 0.94 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.7569, allocations: 1.808 MB / 0.9417 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.7572, allocations: 0.7036 MB / 0.9424 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.7574, allocations: 27.27 kB / 0.9425 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.7574, allocations: 26.94 kB / 0.9425 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.7574, allocations: 0 / 0.9425 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.7705, allocations: 2.958 MB / 0.9454 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.7708, allocations: 230.7 kB / 0.9456 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.615, allocations: 0 / 0.9456 GB, free: 11.59 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)