Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 179.1 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007172/0.0007171, allocations: 92.14 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003253, allocations: 8.281 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001778/0.2181, allocations: 1.359 MB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.202/0.4201, allocations: 147.7 MB / 1.046 GB, free: 9.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.4203, allocations: 4 kB / 1.046 GB, free: 9.773 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.4204, allocations: 11.88 kB / 1.046 GB, free: 9.762 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.4206, allocations: 39.75 kB / 1.047 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.4209, allocations: 123.6 kB / 1.047 GB, free: 9.602 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.4211, allocations: 115.6 kB / 1.047 GB, free: 9.488 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.4212, allocations: 21.39 kB / 1.047 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.4234, allocations: 158.7 kB / 1.047 GB, free: 9.332 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.4235, allocations: 39.78 kB / 1.047 GB, free: 9.293 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4235, allocations: 4 kB / 1.047 GB, free: 9.289 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.4239, allocations: 179.6 kB / 1.047 GB, free: 9.113 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.424, allocations: 19.92 kB / 1.047 GB, free: 9.094 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.709e-05/0.4241, allocations: 65.44 kB / 1.047 GB, free: 9.023 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.4244, allocations: 187.7 kB / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4244, allocations: 0 / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4244, allocations: 0 / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4244, allocations: 4 kB / 1.047 GB, free: 8.836 MB / 0.698 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.0006167/0.425, allocations: 439 kB / 1.048 GB, free: 8.359 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4251, allocations: 8.031 kB / 1.048 GB, free: 8.352 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.4251, allocations: 38.75 kB / 1.048 GB, free: 8.305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.426, allocations: 79.75 kB / 1.048 GB, free: 8.227 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.4262, allocations: 209 kB / 1.048 GB, free: 7.984 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4263, allocations: 4 kB / 1.048 GB, free: 7.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.4263, allocations: 16 kB / 1.048 GB, free: 7.965 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.4267, allocations: 145.5 kB / 1.048 GB, free: 7.816 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4267, allocations: 3.938 kB / 1.048 GB, free: 7.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.4268, allocations: 11.88 kB / 1.048 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4268, allocations: 0 / 1.048 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.4273, allocations: 158.7 kB / 1.048 GB, free: 7.648 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007846/0.4281, allocations: 412.5 kB / 1.049 GB, free: 7.195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.4288, allocations: 259.7 kB / 1.049 GB, free: 6.914 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.4291, allocations: 92.78 kB / 1.049 GB, free: 6.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.4292, allocations: 0 / 1.049 GB, free: 6.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4292, allocations: 30.56 kB / 1.049 GB, free: 6.781 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.4292, allocations: 0 / 1.049 GB, free: 6.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008348/0.43, allocations: 257.3 kB / 1.049 GB, free: 6.523 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4301, allocations: 51.41 kB / 1.05 GB, free: 6.461 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4302, allocations: 148.5 kB / 1.05 GB, free: 6.309 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.4302, allocations: 33.7 kB / 1.05 GB, free: 6.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.4303, allocations: 100.1 kB / 1.05 GB, free: 6.168 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.4303, allocations: 27.69 kB / 1.05 GB, free: 6.141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.4304, allocations: 4 kB / 1.05 GB, free: 6.137 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4305, allocations: 322.8 kB / 1.05 GB, free: 5.812 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.4307, allocations: 63.95 kB / 1.05 GB, free: 5.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.4309, allocations: 86.52 kB / 1.05 GB, free: 5.656 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.4314, allocations: 148.7 kB / 1.05 GB, free: 5.508 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4314, allocations: 0 / 1.05 GB, free: 5.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004982/0.4319, allocations: 177.5 kB / 1.051 GB, free: 5.328 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4319, allocations: 8 kB / 1.051 GB, free: 5.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4319, allocations: 0 / 1.051 GB, free: 5.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.432, allocations: 3.984 kB / 1.051 GB, free: 5.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.4322, allocations: 35.97 kB / 1.051 GB, free: 5.281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4322, allocations: 4 kB / 1.051 GB, free: 5.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.4324, allocations: 27.92 kB / 1.051 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.4324, allocations: 3.938 kB / 1.051 GB, free: 5.246 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.4325, allocations: 125.8 kB / 1.051 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.4325, allocations: 15.81 kB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.4326, allocations: 12.72 kB / 1.051 GB, free: 5.082 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4326, allocations: 4 kB / 1.051 GB, free: 5.078 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.4326, allocations: 0 / 1.051 GB, free: 5.078 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4326, allocations: 3.938 kB / 1.051 GB, free: 5.074 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/0.4335, allocations: 482.4 kB / 1.051 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4335, allocations: 0 / 1.051 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.4337, allocations: 39.89 kB / 1.051 GB, free: 4.508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4337, allocations: 0 / 1.051 GB, free: 4.508 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.4337, allocations: 7.938 kB / 1.051 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4337, allocations: 4.562 kB / 1.051 GB, free: 4.496 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4337, allocations: 0 / 1.051 GB, free: 4.496 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.4343, allocations: 279.3 kB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.4343, allocations: 88.92 kB / 1.052 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.4344, allocations: 7.984 kB / 1.052 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.4345, allocations: 31.91 kB / 1.052 GB, free: 4.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.4346, allocations: 0 / 1.052 GB, free: 4.062 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.4346, allocations: 7.984 kB / 1.052 GB, free: 4.055 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.4347, allocations: 114.7 kB / 1.052 GB, free: 3.945 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4347, allocations: 0 / 1.052 GB, free: 3.945 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002706/0.435, allocations: 31.94 kB / 1.052 GB, free: 3.914 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 (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.0009138/0.4359, allocations: 0.8255 MB / 1.053 GB, free: 3.062 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.4364, allocations: 143.9 kB / 1.053 GB, free: 2.922 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4365, allocations: 0 / 1.053 GB, free: 2.922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.4367, allocations: 83.88 kB / 1.053 GB, free: 2.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.4371, allocations: 23.92 kB / 1.053 GB, free: 2.816 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.4398, allocations: 1.816 MB / 1.055 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.4401, allocations: 0.7004 MB / 1.055 GB, free: 200 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.4403, allocations: 28.45 kB / 1.055 GB, free: 172 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.4403, allocations: 27.42 kB / 1.055 GB, free: 144 kB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.4404, allocations: 0 / 1.055 GB, free: 144 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3775/0.8179, allocations: 2.978 MB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.8181, allocations: 218.8 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.544, allocations: 0 / 1.059 GB, free: 156.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)