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.001046/0.001046, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.421/1.421, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.659/1.659, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.0014/0.0014, allocations: 67.17 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2271, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00278/0.2299, allocations: 1.65 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5848/0.8147, allocations: 151.5 MB / 0.9331 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.8148, allocations: 2.625 kB / 0.9331 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.815, allocations: 19.31 kB / 0.9331 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.8152, allocations: 53.88 kB / 0.9331 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.8156, allocations: 142.7 kB / 0.9333 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.8158, allocations: 121.2 kB / 0.9334 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.8159, allocations: 23.17 kB / 0.9334 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.8169, allocations: 158.4 kB / 0.9336 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.89e-05/0.817, allocations: 44.34 kB / 0.9336 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.817, allocations: 11.53 kB / 0.9336 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.8174, allocations: 179 kB / 0.9338 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.8175, allocations: 20.56 kB / 0.9338 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.8175, allocations: 50.89 kB / 0.9339 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.8179, allocations: 190.5 kB / 0.934 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8179, allocations: 0 / 0.934 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8179, allocations: 0 / 0.934 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.8179, allocations: 6.562 kB / 0.934 GB, free: 2.645 MB / 0.7169 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.0007087/0.8186, allocations: 445.2 kB / 0.9345 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.8187, allocations: 11.44 kB / 0.9345 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.8187, allocations: 38.58 kB / 0.9345 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009081/0.8196, allocations: 82.66 kB / 0.9346 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.8198, allocations: 211.5 kB / 0.9348 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.8199, allocations: 9.188 kB / 0.9348 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.8199, allocations: 5.25 kB / 0.9348 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.8203, allocations: 139.4 kB / 0.9349 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8203, allocations: 0 / 0.9349 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.8203, allocations: 7.828 kB / 0.935 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.8203, allocations: 3.938 kB / 0.935 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.8208, allocations: 136.1 kB / 0.9351 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.8215, allocations: 414.8 kB / 0.9355 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.8222, allocations: 247 kB / 0.9357 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.8224, allocations: 78.47 kB / 0.9358 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.8225, allocations: 5.656 kB / 0.9358 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.8225, allocations: 30.56 kB / 0.9358 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.8225, allocations: 0 / 0.9358 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007856/0.8233, allocations: 221.2 kB / 0.936 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.8233, allocations: 53.84 kB / 0.9361 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.954e-05/0.8234, allocations: 148.7 kB / 0.9362 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.8235, allocations: 29.2 kB / 0.9363 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.8235, allocations: 102 kB / 0.9364 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.8236, allocations: 27.23 kB / 0.9364 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.8236, allocations: 27.97 kB / 0.9364 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.8237, allocations: 324.3 kB / 0.9367 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.8239, allocations: 54.69 kB / 0.9368 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.8241, allocations: 76.22 kB / 0.9368 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.8246, allocations: 121.6 kB / 0.937 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8246, allocations: 4.594 kB / 0.937 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004636/0.825, allocations: 154.6 kB / 0.9371 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8251, allocations: 9.422 kB / 0.9371 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8251, allocations: 2.938 kB / 0.9371 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8251, allocations: 0 / 0.9371 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.8253, allocations: 28.62 kB / 0.9372 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.8253, allocations: 3.703 kB / 0.9372 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.8255, allocations: 21.52 kB / 0.9372 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.8255, allocations: 6.375 kB / 0.9372 GB, free: 16.71 MB / 0.7325 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 8.237e-05/0.8256, allocations: 121.1 kB / 0.9373 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.8256, allocations: 17.41 kB / 0.9373 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.8257, allocations: 21.05 kB / 0.9373 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8257, allocations: 0 / 0.9373 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8257, allocations: 1.938 kB / 0.9373 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8257, allocations: 0.875 kB / 0.9373 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/0.8264, allocations: 462.2 kB / 0.9378 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8265, allocations: 1.203 kB / 0.9378 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.8267, allocations: 28.06 kB / 0.9378 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8267, allocations: 0.5625 kB / 0.9378 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.8267, allocations: 6.25 kB / 0.9378 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8267, allocations: 3.938 kB / 0.9378 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8267, allocations: 0.5312 kB / 0.9378 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.8272, allocations: 261.4 kB / 0.9381 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.8273, allocations: 88.5 kB / 0.9381 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.8273, allocations: 4.391 kB / 0.9382 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.8275, allocations: 20.83 kB / 0.9382 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.8275, allocations: 9.578 kB / 0.9382 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.8275, allocations: 5.625 kB / 0.9382 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.659e-05/0.8276, allocations: 117.8 kB / 0.9383 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8276, allocations: 0 / 0.9383 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002687/0.8279, allocations: 31.09 kB / 0.9383 GB, free: 15.93 MB / 0.7325 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.0007616/0.8287, allocations: 0.8046 MB / 0.9391 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.8291, allocations: 132.5 kB / 0.9392 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8292, allocations: 0.5938 kB / 0.9392 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.8294, allocations: 68.16 kB / 0.9393 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.8297, allocations: 37.08 kB / 0.9393 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.8321, allocations: 1.715 MB / 0.941 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.8324, allocations: 0.7035 MB / 0.9417 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.8325, allocations: 33 kB / 0.9417 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.8326, allocations: 31.73 kB / 0.9418 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8326, allocations: 1.031 kB / 0.9418 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.8502, allocations: 3.316 MB / 0.945 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/8.074, allocations: 16.61 kB / 0.945 GB, free: 12.86 MB / 0.7325 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)