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.505/1.505, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00117/0.00117, allocations: 187.6 kB / 326.5 MB, free: 2.234 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.896/1.896, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008738/0.0008739, allocations: 93.52 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003747, allocations: 8.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2435, allocations: 106.4 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001754/0.2454, allocations: 1.316 MB / 0.9014 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.406, allocations: 127.9 MB / 1.026 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.4062, allocations: 11.94 kB / 1.026 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.4065, allocations: 3.938 kB / 1.026 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.4068, allocations: 43.86 kB / 1.026 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.4073, allocations: 123.7 kB / 1.027 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.4076, allocations: 75.84 kB / 1.027 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.4078, allocations: 25.38 kB / 1.027 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.4082, allocations: 95.73 kB / 1.027 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.4083, allocations: 35.84 kB / 1.027 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.4083, allocations: 0 / 1.027 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.4088, allocations: 187.7 kB / 1.027 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.4089, allocations: 19.92 kB / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.409, allocations: 49.64 kB / 1.027 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.4094, allocations: 124 kB / 1.027 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4094, allocations: 0 / 1.027 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.166e-06/0.4094, allocations: 0 / 1.027 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.4094, allocations: 0 / 1.027 GB, free: 13.98 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.0009407/0.4104, allocations: 446.8 kB / 1.028 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.4104, allocations: 8.031 kB / 1.028 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.4105, allocations: 38.56 kB / 1.028 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4115, allocations: 79.8 kB / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.4119, allocations: 198.9 kB / 1.028 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4119, allocations: 11.94 kB / 1.028 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.4119, allocations: 8 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.4125, allocations: 153.4 kB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4125, allocations: 4 kB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.4125, allocations: 0 / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4125, allocations: 0 / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.4132, allocations: 159.9 kB / 1.028 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.4142, allocations: 412.3 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.415, allocations: 263.7 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.415, allocations: 4 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.4151, allocations: 38.66 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.4151, allocations: 0 / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008912/0.416, allocations: 245.4 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.416, allocations: 51.41 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4162, allocations: 152.5 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.4163, allocations: 25.7 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.4164, allocations: 96.33 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.4164, allocations: 31.69 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.4164, allocations: 4 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4166, allocations: 326.8 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.4169, allocations: 59.95 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.4171, allocations: 94.45 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.4174, allocations: 67.97 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4174, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005547/0.418, allocations: 177.5 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.418, allocations: 6.812 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.418, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.418, allocations: 7.984 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.4183, allocations: 35.95 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4183, allocations: 7.938 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.4185, allocations: 19.89 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4185, allocations: 4.547 kB / 1.03 GB, free: 10.56 MB / 0.6823 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.0001172/0.4186, allocations: 129.8 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.4187, allocations: 7.906 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.534e-05/0.4187, allocations: 16.72 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4187, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4187, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4188, allocations: 7.938 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009375/0.4197, allocations: 486.3 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4197, allocations: 3.938 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.4199, allocations: 31.97 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4199, allocations: 0 / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.4199, allocations: 7.984 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4199, allocations: 80 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.42, allocations: 7.984 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.4206, allocations: 283.2 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.4207, allocations: 85.02 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4207, allocations: 3.938 kB / 1.031 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4209, allocations: 23.98 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.421, allocations: 7.984 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.421, allocations: 7.984 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.368e-05/0.4211, allocations: 114.6 kB / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4211, allocations: 0 / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002881/0.4214, allocations: 28 kB / 1.031 GB, free: 9.23 MB / 0.6823 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.001131/0.4225, allocations: 0.8255 MB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.4231, allocations: 151.8 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4231, allocations: 0 / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.4234, allocations: 75.94 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.4237, allocations: 23.98 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.4258, allocations: 0.8257 MB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.4262, allocations: 0.7119 MB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.4264, allocations: 24.36 kB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.4265, allocations: 35.42 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/0.4265, allocations: 3.938 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.4423, allocations: 2.973 MB / 1.037 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.4426, allocations: 207.1 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.194, allocations: 0 / 1.037 GB, free: 3.426 MB / 0.6823 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)