Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8673/0.8673, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 184.8 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 84.09 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 286.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.27e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4941, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.554/5.048, allocations: 1.686 GB / 2.444 GB, free: 100.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/5.049, allocations: 79.95 kB / 2.444 GB, free: 100.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1152/5.164, allocations: 63.71 MB / 2.506 GB, free: 35.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/5.164, allocations: 0 / 2.506 GB, free: 35.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.32e-05/5.164, allocations: 4 kB / 2.506 GB, free: 35.45 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.0005638/5.165, allocations: 438.2 kB / 2.506 GB, free: 34.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/5.165, allocations: 12.03 kB / 2.507 GB, free: 34.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/5.165, allocations: 83.56 kB / 2.507 GB, free: 34.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/5.166, allocations: 214.9 kB / 2.507 GB, free: 34.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/5.166, allocations: 0 / 2.507 GB, free: 34.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/5.166, allocations: 4 kB / 2.507 GB, free: 34.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001565/5.166, allocations: 67.98 kB / 2.507 GB, free: 34.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/5.166, allocations: 97.55 kB / 2.507 GB, free: 34.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/5.166, allocations: 7.891 kB / 2.507 GB, free: 34.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/5.166, allocations: 0 / 2.507 GB, free: 34.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/5.166, allocations: 4 kB / 2.507 GB, free: 34.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/5.167, allocations: 369.1 kB / 2.507 GB, free: 34.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/5.167, allocations: 196 kB / 2.508 GB, free: 33.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/5.167, allocations: 52.84 kB / 2.508 GB, free: 33.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/5.167, allocations: 0 / 2.508 GB, free: 33.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/5.167, allocations: 38.55 kB / 2.508 GB, free: 33.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/5.167, allocations: 0 / 2.508 GB, free: 33.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002267/5.168, allocations: 101.6 kB / 2.508 GB, free: 33.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/5.168, allocations: 51.41 kB / 2.508 GB, free: 33.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/5.168, allocations: 123.2 kB / 2.508 GB, free: 33.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/5.168, allocations: 25.7 kB / 2.508 GB, free: 33.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/5.168, allocations: 108.1 kB / 2.508 GB, free: 33.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/5.168, allocations: 23.66 kB / 2.508 GB, free: 33.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/5.168, allocations: 3.938 kB / 2.508 GB, free: 33.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/5.168, allocations: 326.8 kB / 2.508 GB, free: 32.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/5.168, allocations: 20 kB / 2.508 GB, free: 32.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.646e-05/5.168, allocations: 50.56 kB / 2.508 GB, free: 32.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.036e-05/5.168, allocations: 28.22 kB / 2.508 GB, free: 32.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/5.168, allocations: 4.031 kB / 2.508 GB, free: 32.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001484/5.168, allocations: 105.5 kB / 2.509 GB, free: 32.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/5.168, allocations: 5.094 kB / 2.509 GB, free: 32.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/5.168, allocations: 0 / 2.509 GB, free: 32.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/5.168, allocations: 0 / 2.509 GB, free: 32.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/5.168, allocations: 35.91 kB / 2.509 GB, free: 32.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/5.168, allocations: 0 / 2.509 GB, free: 32.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/5.169, allocations: 23.98 kB / 2.509 GB, free: 32.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/5.169, allocations: 3.984 kB / 2.509 GB, free: 32.65 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 () * 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 7.716e-05/5.169, allocations: 108.9 kB / 2.509 GB, free: 32.54 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001547/5.169, allocations: 101.5 kB / 2.509 GB, free: 32.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/5.169, allocations: 7.906 kB / 2.509 GB, free: 32.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/5.169, allocations: 20.61 kB / 2.509 GB, free: 32.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/5.169, allocations: 3.938 kB / 2.509 GB, free: 32.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/5.169, allocations: 0 / 2.509 GB, free: 32.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/5.169, allocations: 4 kB / 2.509 GB, free: 32.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/5.169, allocations: 374.9 kB / 2.509 GB, free: 31.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/5.169, allocations: 0 / 2.509 GB, free: 31.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/5.17, allocations: 39.97 kB / 2.509 GB, free: 31.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/5.17, allocations: 0 / 2.509 GB, free: 31.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/5.17, allocations: 0 / 2.509 GB, free: 31.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/5.17, allocations: 4 kB / 2.509 GB, free: 31.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/5.17, allocations: 0 / 2.509 GB, free: 31.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/5.17, allocations: 199.3 kB / 2.509 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/5.17, allocations: 84.95 kB / 2.509 GB, free: 31.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/5.17, allocations: 8 kB / 2.51 GB, free: 31.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/5.17, allocations: 19.97 kB / 2.51 GB, free: 31.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/5.17, allocations: 7.984 kB / 2.51 GB, free: 31.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/5.17, allocations: 4 kB / 2.51 GB, free: 31.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.141e-05/5.17, allocations: 105.1 kB / 2.51 GB, free: 31.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.17, allocations: 0 / 2.51 GB, free: 31.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003517/5.171, allocations: 67.89 kB / 2.51 GB, free: 31.42 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 () * 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.001142/5.172, allocations: 1.356 MB / 2.511 GB, free: 30.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001747/5.172, allocations: 67.97 kB / 2.511 GB, free: 29.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/5.172, allocations: 0 / 2.511 GB, free: 29.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.028e-05/5.172, allocations: 32 kB / 2.511 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/5.172, allocations: 31.92 kB / 2.511 GB, free: 29.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/5.173, allocations: 190.2 kB / 2.511 GB, free: 29.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/5.173, allocations: 0.7118 MB / 2.512 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001449/5.173, allocations: 24.64 kB / 2.512 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/5.173, allocations: 35.36 kB / 2.512 GB, free: 28.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/5.173, allocations: 0 / 2.512 GB, free: 28.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/5.204, allocations: 7.577 MB / 2.519 GB, free: 21.34 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003154/5.204, allocations: 171.8 kB / 2.52 GB, free: 21.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/7.292, allocations: 0 / 2.52 GB, free: 21.14 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)