Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.64/2.64, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001483/0.001483, allocations: 179 kB / 370.8 MB, free: 10.87 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.238/2.238, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001183/0.001183, allocations: 92.11 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004896, allocations: 11.59 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001912/0.2178, allocations: 1.325 MB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8797/1.098, allocations: 127.9 MB / 1.104 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/1.098, allocations: 1.156 kB / 1.104 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/1.098, allocations: 9.875 kB / 1.104 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002593/1.098, allocations: 43.52 kB / 1.105 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/1.099, allocations: 121.6 kB / 1.105 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/1.099, allocations: 85.8 kB / 1.105 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/1.099, allocations: 24 kB / 1.105 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/1.099, allocations: 93.25 kB / 1.105 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/1.1, allocations: 34.52 kB / 1.105 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/1.1, allocations: 2.938 kB / 1.105 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/1.1, allocations: 192 kB / 1.105 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/1.1, allocations: 19.22 kB / 1.105 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/1.1, allocations: 38.95 kB / 1.105 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/1.101, allocations: 130.5 kB / 1.105 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/1.101, allocations: 0 / 1.105 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.714e-06/1.101, allocations: 1.344 kB / 1.105 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.03e-06/1.101, allocations: 0 / 1.105 GB, free: 1.699 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.0009758/1.102, allocations: 449 kB / 1.106 GB, free: 17.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/1.102, allocations: 13.55 kB / 1.106 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.582e-05/1.102, allocations: 39.31 kB / 1.106 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/1.104, allocations: 77.67 kB / 1.106 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/1.104, allocations: 200.5 kB / 1.106 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/1.104, allocations: 6.906 kB / 1.106 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/1.104, allocations: 7.562 kB / 1.106 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/1.105, allocations: 154.9 kB / 1.106 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.105, allocations: 0 / 1.106 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/1.105, allocations: 1.469 kB / 1.106 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.105, allocations: 3.078 kB / 1.106 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/1.106, allocations: 161 kB / 1.106 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/1.107, allocations: 410.5 kB / 1.107 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/1.109, allocations: 263.1 kB / 1.107 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/1.109, allocations: 3.625 kB / 1.107 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.109, allocations: 35.3 kB / 1.107 GB, free: 16.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/1.109, allocations: 0 / 1.107 GB, free: 16.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.00145/1.11, allocations: 243.9 kB / 1.107 GB, free: 16.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/1.11, allocations: 52.06 kB / 1.107 GB, free: 16.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/1.111, allocations: 146.3 kB / 1.107 GB, free: 16.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/1.111, allocations: 28.7 kB / 1.107 GB, free: 16.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8e-05/1.111, allocations: 111.2 kB / 1.108 GB, free: 16.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/1.111, allocations: 31.05 kB / 1.108 GB, free: 16.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/1.111, allocations: 0 / 1.108 GB, free: 16.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.111, allocations: 326.2 kB / 1.108 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/1.111, allocations: 66.08 kB / 1.108 GB, free: 15.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/1.112, allocations: 84.16 kB / 1.108 GB, free: 15.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/1.112, allocations: 67.92 kB / 1.108 GB, free: 15.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.112, allocations: 0 / 1.108 GB, free: 15.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009679/1.113, allocations: 180.9 kB / 1.108 GB, free: 15.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.113, allocations: 9.281 kB / 1.108 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.113, allocations: 4 kB / 1.108 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.114, allocations: 0.6562 kB / 1.108 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/1.114, allocations: 40.11 kB / 1.108 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.114, allocations: 1.531 kB / 1.108 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/1.114, allocations: 28.67 kB / 1.108 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/1.114, allocations: 3.219 kB / 1.108 GB, free: 15.79 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.0001516/1.114, allocations: 123.7 kB / 1.108 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/1.114, allocations: 10.44 kB / 1.108 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/1.115, allocations: 14.64 kB / 1.108 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.115, allocations: 1.062 kB / 1.108 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.115, allocations: 1.906 kB / 1.108 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.115, allocations: 7.984 kB / 1.108 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/1.116, allocations: 487.9 kB / 1.109 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.116, allocations: 1.125 kB / 1.109 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/1.117, allocations: 35.58 kB / 1.109 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/1.117, allocations: 5.5 kB / 1.109 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/1.117, allocations: 1.359 kB / 1.109 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.117, allocations: 1.406 kB / 1.109 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.117, allocations: 1.422 kB / 1.109 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/1.118, allocations: 286.5 kB / 1.109 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/1.118, allocations: 84.84 kB / 1.109 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/1.118, allocations: 2.109 kB / 1.109 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/1.118, allocations: 25.94 kB / 1.109 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/1.118, allocations: 6.219 kB / 1.109 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/1.118, allocations: 5.5 kB / 1.109 GB, free: 15.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001284/1.118, allocations: 121.5 kB / 1.11 GB, free: 15.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.118, allocations: 0 / 1.11 GB, free: 15.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003851/1.119, allocations: 26.86 kB / 1.11 GB, free: 15.01 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.001365/1.12, allocations: 0.8286 MB / 1.11 GB, free: 14.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009081/1.121, allocations: 148.7 kB / 1.11 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.121, allocations: 4 kB / 1.11 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004357/1.121, allocations: 73.14 kB / 1.111 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/1.122, allocations: 33.59 kB / 1.111 GB, free: 14.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/1.125, allocations: 0.8197 MB / 1.111 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/1.125, allocations: 0.703 MB / 1.112 GB, free: 13.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002995/1.125, allocations: 26.33 kB / 1.112 GB, free: 13.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/1.126, allocations: 32.53 kB / 1.112 GB, free: 13.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.126, allocations: 1.859 kB / 1.112 GB, free: 13.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/1.154, allocations: 2.979 MB / 1.115 GB, free: 12.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.155, allocations: 194.1 kB / 1.115 GB, free: 12.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.644, allocations: 0 / 1.115 GB, free: 12.73 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)