Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 196.7 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 67.88 kB / 0.6709 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1921, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002833/0.1949, allocations: 1.705 MB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5819/0.7768, allocations: 149.3 MB / 0.9302 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.777, allocations: 1.344 kB / 0.9302 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.7772, allocations: 12.45 kB / 0.9302 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.7774, allocations: 35.66 kB / 0.9303 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.7778, allocations: 136.6 kB / 0.9304 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.778, allocations: 111.2 kB / 0.9305 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.7781, allocations: 30.11 kB / 0.9305 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.78, allocations: 154.1 kB / 0.9307 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.7801, allocations: 49.34 kB / 0.9307 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.7801, allocations: 6.031 kB / 0.9307 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.7806, allocations: 173.5 kB / 0.9309 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.7806, allocations: 22.56 kB / 0.9309 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.7807, allocations: 43.45 kB / 0.9309 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.7811, allocations: 183.8 kB / 0.9311 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.7811, allocations: 1.375 kB / 0.9311 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7811, allocations: 4 kB / 0.9311 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7811, allocations: 0 / 0.9311 GB, free: 5.859 MB / 0.7325 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.0008478/0.782, allocations: 448.8 kB / 0.9316 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.782, allocations: 9.469 kB / 0.9316 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.7821, allocations: 38.36 kB / 0.9316 GB, free: 21.42 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009698/0.7831, allocations: 84.42 kB / 0.9317 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.7833, allocations: 214.3 kB / 0.9319 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.7833, allocations: 5.938 kB / 0.9319 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.7834, allocations: 5.594 kB / 0.9319 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.7838, allocations: 135.6 kB / 0.932 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7838, allocations: 1.453 kB / 0.932 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.7839, allocations: 4.438 kB / 0.932 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.7839, allocations: 7.344 kB / 0.932 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.7845, allocations: 138.9 kB / 0.9322 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.7854, allocations: 412.6 kB / 0.9326 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/0.7862, allocations: 247.2 kB / 0.9328 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.7865, allocations: 73.05 kB / 0.9329 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.7865, allocations: 7.391 kB / 0.9329 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.7865, allocations: 36.89 kB / 0.9329 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.7865, allocations: 0 / 0.9329 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.000793/0.7873, allocations: 214 kB / 0.9331 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.7874, allocations: 58.92 kB / 0.9332 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.7875, allocations: 149 kB / 0.9333 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.7876, allocations: 26.31 kB / 0.9333 GB, free: 20.47 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.7876, allocations: 101.7 kB / 0.9334 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.7877, allocations: 30.92 kB / 0.9335 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.7877, allocations: 27.59 kB / 0.9335 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7879, allocations: 325.3 kB / 0.9338 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.7881, allocations: 54.12 kB / 0.9339 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.7883, allocations: 80.72 kB / 0.9339 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.7887, allocations: 119.5 kB / 0.934 GB, free: 20 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7887, allocations: 0 / 0.934 GB, free: 20 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004829/0.7892, allocations: 161.7 kB / 0.9342 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7892, allocations: 6.172 kB / 0.9342 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7893, allocations: 0 / 0.9342 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7893, allocations: 3.938 kB / 0.9342 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.7895, allocations: 27.89 kB / 0.9342 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.7895, allocations: 0.5156 kB / 0.9342 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.7897, allocations: 21.25 kB / 0.9343 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.7897, allocations: 6.703 kB / 0.9343 GB, free: 19.95 MB / 0.7481 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 9.657e-05/0.7898, allocations: 128.2 kB / 0.9344 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.7898, allocations: 13.56 kB / 0.9344 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.7899, allocations: 16.47 kB / 0.9344 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7899, allocations: 2.625 kB / 0.9344 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.7899, allocations: 0.75 kB / 0.9344 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7899, allocations: 0 / 0.9344 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008093/0.7908, allocations: 465 kB / 0.9349 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7908, allocations: 0 / 0.9349 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.791, allocations: 28.39 kB / 0.9349 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.791, allocations: 5.203 kB / 0.9349 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.791, allocations: 4.219 kB / 0.9349 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.791, allocations: 3.938 kB / 0.9349 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.791, allocations: 0 / 0.9349 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.7915, allocations: 259.3 kB / 0.9351 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.7916, allocations: 91.3 kB / 0.9352 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.7916, allocations: 0 / 0.9352 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.7918, allocations: 21.56 kB / 0.9353 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.7918, allocations: 8.188 kB / 0.9353 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.7919, allocations: 1.078 kB / 0.9353 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.959e-05/0.7919, allocations: 118 kB / 0.9354 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7919, allocations: 5.094 kB / 0.9354 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002904/0.7922, allocations: 27.84 kB / 0.9354 GB, free: 19.18 MB / 0.7481 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.000906/0.7932, allocations: 0.8017 MB / 0.9362 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.7937, allocations: 125.9 kB / 0.9363 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7937, allocations: 4 kB / 0.9363 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.794, allocations: 64.72 kB / 0.9364 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.7943, allocations: 32.48 kB / 0.9364 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.7969, allocations: 1.751 MB / 0.9381 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.7971, allocations: 0.7028 MB / 0.9388 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000171/0.7973, allocations: 27.56 kB / 0.9388 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.7974, allocations: 30.42 kB / 0.9389 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.7974, allocations: 0 / 0.9389 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.8113, allocations: 3.039 MB / 0.9418 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.8115, allocations: 219.4 kB / 0.942 GB, free: 16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.562, allocations: 0 / 0.942 GB, free: 16 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)