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.001068/0.001068, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001238, allocations: 187.9 kB / 16.62 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.73/1.73, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001584/0.001585, allocations: 72.09 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2555, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002964/0.2586, allocations: 1.64 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6177/0.8763, allocations: 151.6 MB / 0.9332 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.8765, allocations: 0 / 0.9332 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.8766, allocations: 15.92 kB / 0.9332 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.8768, allocations: 52.91 kB / 0.9333 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.8773, allocations: 138.1 kB / 0.9334 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.8775, allocations: 126 kB / 0.9335 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.8776, allocations: 29.61 kB / 0.9336 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.8786, allocations: 166.4 kB / 0.9337 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.8787, allocations: 41.16 kB / 0.9338 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.8787, allocations: 7.875 kB / 0.9338 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.8791, allocations: 177.1 kB / 0.9339 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.8792, allocations: 27.61 kB / 0.934 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/0.8792, allocations: 43.27 kB / 0.934 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.8795, allocations: 203.2 kB / 0.9342 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8796, allocations: 1.094 kB / 0.9342 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8796, allocations: 0 / 0.9342 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.8796, allocations: 2.625 kB / 0.9342 GB, free: 2.668 MB / 0.7169 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.0006644/0.8802, allocations: 443.3 kB / 0.9346 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.8803, allocations: 9.406 kB / 0.9346 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.8803, allocations: 41.34 kB / 0.9347 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008169/0.8811, allocations: 81.8 kB / 0.9348 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.8814, allocations: 212.8 kB / 0.935 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.8814, allocations: 3.828 kB / 0.935 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.8814, allocations: 13.19 kB / 0.935 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.8818, allocations: 133.3 kB / 0.9351 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8818, allocations: 6.609 kB / 0.9351 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.8819, allocations: 0 / 0.9351 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.8819, allocations: 6.562 kB / 0.9351 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.8824, allocations: 135.9 kB / 0.9352 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007254/0.8831, allocations: 414.1 kB / 0.9356 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.8838, allocations: 246.5 kB / 0.9359 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.884, allocations: 76.95 kB / 0.936 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.884, allocations: 7.562 kB / 0.936 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.884, allocations: 36 kB / 0.936 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.8841, allocations: 0 / 0.936 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007295/0.8848, allocations: 216.5 kB / 0.9362 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.8848, allocations: 51.41 kB / 0.9362 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.8849, allocations: 149.5 kB / 0.9364 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.885, allocations: 25.7 kB / 0.9364 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.885, allocations: 102.3 kB / 0.9365 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.8851, allocations: 30.11 kB / 0.9365 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.8851, allocations: 23.03 kB / 0.9366 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.8852, allocations: 332.5 kB / 0.9369 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.8854, allocations: 53.45 kB / 0.9369 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.8856, allocations: 75.97 kB / 0.937 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.886, allocations: 120 kB / 0.9371 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.886, allocations: 2.281 kB / 0.9371 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004408/0.8865, allocations: 162.2 kB / 0.9373 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.8865, allocations: 4.281 kB / 0.9373 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8865, allocations: 0 / 0.9373 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8865, allocations: 2.344 kB / 0.9373 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.8867, allocations: 30.53 kB / 0.9373 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.8867, allocations: 80 / 0.9373 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.8869, allocations: 27.95 kB / 0.9373 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.8869, allocations: 9.703 kB / 0.9373 GB, free: 16.73 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 0.0001053/0.887, allocations: 118.6 kB / 0.9375 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.887, allocations: 12.72 kB / 0.9375 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.8871, allocations: 16.39 kB / 0.9375 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8871, allocations: 8.953 kB / 0.9375 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8871, allocations: 0 / 0.9375 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8871, allocations: 4 kB / 0.9375 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/0.888, allocations: 464.4 kB / 0.9379 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.888, allocations: 0 / 0.9379 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.8882, allocations: 30.47 kB / 0.938 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.8882, allocations: 0 / 0.938 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.8882, allocations: 3.984 kB / 0.938 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8882, allocations: 5.875 kB / 0.938 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8882, allocations: 0 / 0.938 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.8888, allocations: 257.9 kB / 0.9382 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.8888, allocations: 89.73 kB / 0.9383 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.8889, allocations: 0 / 0.9383 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.889, allocations: 27.56 kB / 0.9383 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.8891, allocations: 7.641 kB / 0.9383 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.8891, allocations: 4.406 kB / 0.9383 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.947e-05/0.8892, allocations: 118 kB / 0.9385 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8892, allocations: 0 / 0.9385 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002878/0.8895, allocations: 33.5 kB / 0.9385 GB, free: 15.95 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.0009111/0.8904, allocations: 0.7962 MB / 0.9393 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004636/0.8909, allocations: 128.3 kB / 0.9394 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8909, allocations: 4 kB / 0.9394 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.8911, allocations: 65.16 kB / 0.9395 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.8915, allocations: 32.33 kB / 0.9395 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.8939, allocations: 1.736 MB / 0.9412 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.8941, allocations: 0.7001 MB / 0.9419 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.8943, allocations: 30.17 kB / 0.9419 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.8944, allocations: 31.97 kB / 0.9419 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.8944, allocations: 0.8125 kB / 0.9419 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.9136, allocations: 3.335 MB / 0.9452 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.886, allocations: 10.72 kB / 0.9452 GB, free: 12.89 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)