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.419/1.419, 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.001283/0.001283, allocations: 173.6 kB / 326.5 MB, free: 2.25 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.155/2.155, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008595/0.0008595, allocations: 96.53 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 9.656 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.222, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.659/5.881, allocations: 2.188 GB / 3.088 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/5.881, allocations: 85.95 kB / 3.088 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1504/6.032, allocations: 66 MB / 3.153 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/6.032, allocations: 4 kB / 3.153 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.116e-05/6.032, allocations: 3.906 kB / 3.153 GB, free: 239.9 MB / 0.8855 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.0008702/6.033, allocations: 456.5 kB / 3.153 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/6.033, allocations: 11.72 kB / 3.153 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/6.033, allocations: 34.5 kB / 3.153 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009138/6.034, allocations: 74.31 kB / 3.153 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/6.034, allocations: 213.5 kB / 3.153 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/6.034, allocations: 3.938 kB / 3.153 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/6.034, allocations: 7.781 kB / 3.153 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/6.034, allocations: 154.3 kB / 3.154 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/6.034, allocations: 0 / 3.154 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/6.034, allocations: 0 / 3.154 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/6.034, allocations: 0 / 3.154 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/6.035, allocations: 167.8 kB / 3.154 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008239/6.036, allocations: 411.6 kB / 3.154 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/6.037, allocations: 258.8 kB / 3.154 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/6.037, allocations: 11.81 kB / 3.154 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/6.037, allocations: 42.25 kB / 3.154 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/6.037, allocations: 0 / 3.154 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0008075/6.037, allocations: 235.3 kB / 3.155 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/6.037, allocations: 59.06 kB / 3.155 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/6.038, allocations: 133.6 kB / 3.155 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/6.038, allocations: 33.52 kB / 3.155 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/6.038, allocations: 103.5 kB / 3.155 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/6.038, allocations: 27.72 kB / 3.155 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/6.038, allocations: 0 / 3.155 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001024/6.038, allocations: 318.3 kB / 3.155 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/6.038, allocations: 69.67 kB / 3.155 GB, free: 238 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/6.038, allocations: 94.88 kB / 3.155 GB, free: 238 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/6.039, allocations: 64.61 kB / 3.155 GB, free: 238 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/6.039, allocations: 4.031 kB / 3.155 GB, free: 238 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004756/6.039, allocations: 179.8 kB / 3.156 GB, free: 238 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/6.039, allocations: 10.47 kB / 3.156 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/6.039, allocations: 0 / 3.156 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/6.039, allocations: 0 / 3.156 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/6.039, allocations: 38.61 kB / 3.156 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/6.039, allocations: 4 kB / 3.156 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/6.04, allocations: 23.14 kB / 3.156 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/6.04, allocations: 7.859 kB / 3.156 GB, free: 238 MB / 0.8855 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.0001162/6.04, allocations: 117.1 kB / 3.156 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/6.04, allocations: 11.75 kB / 3.156 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.451e-05/6.04, allocations: 16.56 kB / 3.156 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/6.04, allocations: 0 / 3.156 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/6.04, allocations: 0 / 3.156 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/6.04, allocations: 3.938 kB / 3.156 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/6.041, allocations: 491.2 kB / 3.156 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/6.041, allocations: 0 / 3.156 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/6.041, allocations: 38.8 kB / 3.156 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/6.041, allocations: 0 / 3.156 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/6.041, allocations: 3.703 kB / 3.156 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/6.041, allocations: 3.969 kB / 3.156 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/6.041, allocations: 7.891 kB / 3.156 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/6.042, allocations: 274.2 kB / 3.157 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/6.042, allocations: 84.92 kB / 3.157 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/6.042, allocations: 0 / 3.157 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/6.042, allocations: 30.64 kB / 3.157 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/6.042, allocations: 19.44 kB / 3.157 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/6.042, allocations: 3.953 kB / 3.157 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.054e-05/6.042, allocations: 117.5 kB / 3.157 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/6.042, allocations: 0 / 3.157 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005814/6.043, allocations: 73 kB / 3.157 GB, free: 237.2 MB / 0.8855 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.001891/6.044, allocations: 1.335 MB / 3.158 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00051/6.045, allocations: 153.3 kB / 3.158 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/6.045, allocations: 0 / 3.158 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/6.045, allocations: 76.34 kB / 3.158 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/6.046, allocations: 26.7 kB / 3.158 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/6.047, allocations: 0.8335 MB / 3.159 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/6.048, allocations: 0.7068 MB / 3.16 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001783/6.048, allocations: 31.84 kB / 3.16 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/6.048, allocations: 28.94 kB / 3.16 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/6.048, allocations: 0 / 3.16 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/6.077, allocations: 13.37 MB / 3.173 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/6.077, allocations: 202.6 kB / 3.173 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/8.16, allocations: 0 / 3.173 GB, free: 229.1 MB / 0.8855 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)