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.759/1.759, allocations: 288.4 MB / 303.3 MB, free: 8.246 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.00106/0.00106, allocations: 184.8 kB / 372 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0009221/0.0009221, allocations: 94.23 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 15.56 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2452, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001712/0.247, allocations: 1.332 MB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7895/1.036, allocations: 137.7 MB / 1.115 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/1.037, allocations: 1.312 kB / 1.115 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/1.037, allocations: 11.59 kB / 1.115 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002535/1.037, allocations: 43.62 kB / 1.115 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/1.038, allocations: 118 kB / 1.116 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/1.038, allocations: 104.7 kB / 1.116 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/1.038, allocations: 23.27 kB / 1.116 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/1.038, allocations: 117.3 kB / 1.116 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/1.038, allocations: 35.97 kB / 1.116 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/1.038, allocations: 3.906 kB / 1.116 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/1.039, allocations: 176.3 kB / 1.116 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/1.039, allocations: 19.27 kB / 1.116 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/1.039, allocations: 40.55 kB / 1.116 GB, free: 17.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/1.039, allocations: 124.3 kB / 1.116 GB, free: 17.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.039, allocations: 0 / 1.116 GB, free: 17.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/1.039, allocations: 9.25 kB / 1.116 GB, free: 17.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.039, allocations: 0 / 1.116 GB, free: 17.84 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.000714/1.04, allocations: 441.5 kB / 1.117 GB, free: 17.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.04, allocations: 13.61 kB / 1.117 GB, free: 17.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/1.04, allocations: 38.16 kB / 1.117 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009651/1.041, allocations: 76.83 kB / 1.117 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/1.041, allocations: 203.8 kB / 1.117 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/1.041, allocations: 9.906 kB / 1.117 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/1.041, allocations: 8.219 kB / 1.117 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/1.042, allocations: 154.1 kB / 1.117 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.042, allocations: 0 / 1.117 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/1.042, allocations: 8.25 kB / 1.117 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/1.042, allocations: 3.531 kB / 1.117 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/1.043, allocations: 154.3 kB / 1.117 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/1.044, allocations: 414 kB / 1.118 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/1.044, allocations: 257.2 kB / 1.118 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/1.045, allocations: 86.77 kB / 1.118 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/1.045, allocations: 6.141 kB / 1.118 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/1.045, allocations: 31.94 kB / 1.118 GB, free: 16.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/1.045, allocations: 0 / 1.118 GB, free: 16.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0009341/1.046, allocations: 256.6 kB / 1.118 GB, free: 16.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.046, allocations: 52.62 kB / 1.118 GB, free: 16.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/1.046, allocations: 154.2 kB / 1.118 GB, free: 16.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.046, allocations: 27.02 kB / 1.118 GB, free: 16.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/1.046, allocations: 104.6 kB / 1.119 GB, free: 16.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/1.046, allocations: 24.86 kB / 1.119 GB, free: 16.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/1.046, allocations: 3.312 kB / 1.119 GB, free: 16.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.046, allocations: 319.4 kB / 1.119 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/1.047, allocations: 66.03 kB / 1.119 GB, free: 16.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/1.047, allocations: 88.88 kB / 1.119 GB, free: 15.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/1.047, allocations: 75.25 kB / 1.119 GB, free: 15.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.047, allocations: 0 / 1.119 GB, free: 15.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005505/1.048, allocations: 183 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.048, allocations: 5.797 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.048, allocations: 0 / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.048, allocations: 0.9062 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/1.048, allocations: 32.17 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.048, allocations: 1.859 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/1.048, allocations: 32.14 kB / 1.119 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/1.048, allocations: 5.594 kB / 1.119 GB, free: 15.92 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.0001052/1.048, allocations: 122.8 kB / 1.119 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/1.048, allocations: 7.531 kB / 1.119 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/1.048, allocations: 16.23 kB / 1.12 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.048, allocations: 5.375 kB / 1.12 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.048, allocations: 0.875 kB / 1.12 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.048, allocations: 0.75 kB / 1.12 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008672/1.049, allocations: 487.6 kB / 1.12 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.049, allocations: 1.188 kB / 1.12 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/1.049, allocations: 35.34 kB / 1.12 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.05, allocations: 5.484 kB / 1.12 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/1.05, allocations: 5 kB / 1.12 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.05, allocations: 0 / 1.12 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.05, allocations: 5.047 kB / 1.12 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/1.05, allocations: 276.1 kB / 1.12 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/1.05, allocations: 89.75 kB / 1.12 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/1.05, allocations: 1.344 kB / 1.12 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/1.05, allocations: 24.12 kB / 1.12 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/1.05, allocations: 8.828 kB / 1.12 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/1.051, allocations: 5.875 kB / 1.12 GB, free: 15.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.847e-05/1.051, allocations: 121.2 kB / 1.121 GB, free: 15.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.051, allocations: 4 kB / 1.121 GB, free: 15.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00029/1.051, allocations: 27.42 kB / 1.121 GB, free: 15.15 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.001065/1.052, allocations: 0.8286 MB / 1.121 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005589/1.053, allocations: 147.7 kB / 1.122 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.053, allocations: 0 / 1.122 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/1.053, allocations: 76.02 kB / 1.122 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/1.053, allocations: 35.53 kB / 1.122 GB, free: 14.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/1.055, allocations: 0.8245 MB / 1.122 GB, free: 14.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/1.056, allocations: 0.7028 MB / 1.123 GB, free: 13.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00022/1.056, allocations: 32.39 kB / 1.123 GB, free: 13.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/1.056, allocations: 30.27 kB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/1.056, allocations: 1.094 kB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/1.072, allocations: 3.004 MB / 1.126 GB, free: 13.09 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/1.073, allocations: 208.3 kB / 1.126 GB, free: 12.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.841, allocations: 3.938 kB / 1.126 GB, free: 12.86 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)