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.411/1.411, allocations: 252 MB / 267 MB, free: 10.97 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.001242/0.001242, allocations: 179 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.329/2.329, allocations: 205.4 MB / 0.5776 GB, free: 20.54 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.0008972/0.000897, allocations: 91.98 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004025, allocations: 9.094 kB / 0.7964 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2363, allocations: 106.3 MB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002048/0.2385, allocations: 1.336 MB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.3876, allocations: 137.7 MB / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.3879, allocations: 11.88 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.3881, allocations: 11.92 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.3884, allocations: 35.77 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.3889, allocations: 119.5 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3891, allocations: 111.6 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3893, allocations: 21.39 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/0.3897, allocations: 115.8 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.757e-05/0.3898, allocations: 39.78 kB / 1.037 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3898, allocations: 4 kB / 1.037 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.3903, allocations: 171.7 kB / 1.037 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.3904, allocations: 19.92 kB / 1.037 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.3905, allocations: 41.64 kB / 1.037 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.3908, allocations: 132 kB / 1.037 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3908, allocations: 0 / 1.037 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.707e-06/0.3908, allocations: 0 / 1.037 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3908, allocations: 0 / 1.037 GB, free: 4.094 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.0008507/0.3917, allocations: 438.8 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.3918, allocations: 12.03 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.3918, allocations: 42.48 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009546/0.3928, allocations: 79.81 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3931, allocations: 206.8 kB / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3931, allocations: 4 kB / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.3931, allocations: 8 kB / 1.038 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.3937, allocations: 149.5 kB / 1.038 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3937, allocations: 0 / 1.038 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.3937, allocations: 4 kB / 1.038 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.3938, allocations: 4 kB / 1.038 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.3944, allocations: 151.9 kB / 1.038 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.3954, allocations: 420.4 kB / 1.038 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.3962, allocations: 263.7 kB / 1.039 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.3964, allocations: 84.8 kB / 1.039 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.3965, allocations: 0 / 1.039 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3965, allocations: 34.56 kB / 1.039 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3965, allocations: 0 / 1.039 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0009089/0.3975, allocations: 241.4 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3975, allocations: 55.41 kB / 1.039 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3977, allocations: 153.5 kB / 1.039 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3977, allocations: 25.7 kB / 1.039 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.3978, allocations: 104.2 kB / 1.039 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.3979, allocations: 27.7 kB / 1.039 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.3979, allocations: 4 kB / 1.039 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3981, allocations: 322.8 kB / 1.04 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.3983, allocations: 71.86 kB / 1.04 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.3986, allocations: 90.52 kB / 1.04 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.3988, allocations: 72.39 kB / 1.04 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3988, allocations: 0 / 1.04 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005283/0.3994, allocations: 181.5 kB / 1.04 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3994, allocations: 10.66 kB / 1.04 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3994, allocations: 0 / 1.04 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3994, allocations: 4 kB / 1.04 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.3997, allocations: 39.91 kB / 1.04 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3997, allocations: 0 / 1.04 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.3999, allocations: 23.89 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3999, allocations: 11.94 kB / 1.04 GB, free: 0.5742 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.0001131/0.4, allocations: 117.8 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.4001, allocations: 11.91 kB / 1.04 GB, free: 448 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.4001, allocations: 16.7 kB / 1.04 GB, free: 428 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4001, allocations: 4 kB / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4002, allocations: 0 / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4002, allocations: 3.984 kB / 1.04 GB, free: 420 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.4011, allocations: 490.2 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4011, allocations: 4 kB / 1.041 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.4013, allocations: 31.97 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4013, allocations: 0 / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.4013, allocations: 4 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4013, allocations: 0 / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4013, allocations: 3.953 kB / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.4019, allocations: 283.2 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.402, allocations: 85.02 kB / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.402, allocations: 4 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.4022, allocations: 23.97 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.4022, allocations: 3.984 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4022, allocations: 11.95 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.4023, allocations: 114.3 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4023, allocations: 4 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002508/0.4026, allocations: 20 kB / 1.041 GB, free: 15.26 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.0008885/0.4035, allocations: 0.8294 MB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.404, allocations: 147.8 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.404, allocations: 3.938 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.4043, allocations: 79.88 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.4047, allocations: 38.48 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.4065, allocations: 0.8241 MB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.4068, allocations: 0.708 MB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.4069, allocations: 20.42 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.407, allocations: 31.42 kB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.407, allocations: 0 / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.4217, allocations: 2.993 MB / 1.047 GB, free: 9.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.422, allocations: 207 kB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.086, allocations: 0 / 1.047 GB, free: 9.441 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)