Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7786/0.7786, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008576, allocations: 106.7 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.693e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1898, allocations: 82.31 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6651/0.855, allocations: 113.2 MB / 0.7511 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.8553, allocations: 75.39 kB / 0.7512 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007894/0.8632, allocations: 2.541 MB / 0.7536 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8632, allocations: 0 / 0.7536 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.8632, allocations: 7.625 kB / 0.7536 GB, free: 27.44 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000496/0.8637, allocations: 397.7 kB / 0.754 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.8638, allocations: 15.47 kB / 0.754 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.8638, allocations: 35.38 kB / 0.7541 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.8639, allocations: 3.906 kB / 0.7541 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.864, allocations: 170.9 kB / 0.7542 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.8641, allocations: 10.41 kB / 0.7542 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.8641, allocations: 1.859 kB / 0.7543 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.8642, allocations: 50.62 kB / 0.7543 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.8642, allocations: 3.844 kB / 0.7543 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.8643, allocations: 0 / 0.7543 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.8643, allocations: 4 kB / 0.7543 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.499e-05/0.8643, allocations: 23.47 kB / 0.7543 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.8647, allocations: 287.8 kB / 0.7546 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.359e-05/0.8648, allocations: 29.95 kB / 0.7546 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.8649, allocations: 16.27 kB / 0.7546 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.865, allocations: 97.64 kB / 0.7547 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.8651, allocations: 34.5 kB / 0.7548 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8651, allocations: 0 / 0.7548 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001664/0.8653, allocations: 51.39 kB / 0.7548 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.8653, allocations: 55.36 kB / 0.7549 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.8654, allocations: 110.8 kB / 0.755 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.8654, allocations: 25.7 kB / 0.755 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.8655, allocations: 94.62 kB / 0.7551 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.8655, allocations: 15.56 kB / 0.7551 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.8655, allocations: 0 / 0.7551 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8656, allocations: 317.7 kB / 0.7554 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.8657, allocations: 11.53 kB / 0.7554 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.8657, allocations: 3.812 kB / 0.7554 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.8657, allocations: 15.62 kB / 0.7554 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8657, allocations: 0 / 0.7554 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.005e-05/0.8658, allocations: 51.86 kB / 0.7555 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.8658, allocations: 11.69 kB / 0.7555 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.8658, allocations: 0 / 0.7555 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8659, allocations: 0 / 0.7555 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.866, allocations: 20.83 kB / 0.7555 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.866, allocations: 0 / 0.7555 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.8661, allocations: 20.94 kB / 0.7555 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.8661, allocations: 7.938 kB / 0.7556 GB, free: 25.64 MB / 0.5105 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 (3): * Single equations (assignments): 3 * 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 6.212e-05/0.8662, allocations: 108.6 kB / 0.7557 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.8662, allocations: 3.906 kB / 0.7557 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.8663, allocations: 65.12 kB / 0.7557 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8664, allocations: 3.812 kB / 0.7557 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.8664, allocations: 0 / 0.7557 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8664, allocations: 0 / 0.7557 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.8665, allocations: 172.2 kB / 0.7559 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8665, allocations: 0 / 0.7559 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.874e-05/0.8666, allocations: 24.23 kB / 0.7559 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8667, allocations: 0 / 0.7559 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.8667, allocations: 3.75 kB / 0.7559 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8667, allocations: 3.844 kB / 0.7559 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8667, allocations: 0 / 0.7559 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.8668, allocations: 154.9 kB / 0.7561 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.8668, allocations: 84.89 kB / 0.7561 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.8669, allocations: 0 / 0.7561 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.867, allocations: 16.52 kB / 0.7562 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.867, allocations: 6.703 kB / 0.7562 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.867, allocations: 7.906 kB / 0.7562 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.8671, allocations: 90.86 kB / 0.7563 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8671, allocations: 0 / 0.7563 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00027/0.8674, allocations: 35 kB / 0.7563 GB, free: 24.97 MB / 0.5105 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 (3): * Single equations (assignments): 3 * 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.0004961/0.8679, allocations: 0.727 MB / 0.757 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.989e-05/0.868, allocations: 26.59 kB / 0.757 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.868, allocations: 0 / 0.757 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.868, allocations: 15.22 kB / 0.757 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.8682, allocations: 10.66 kB / 0.7571 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.8686, allocations: 125.5 kB / 0.7572 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.8688, allocations: 0.6844 MB / 0.7578 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.8689, allocations: 4.531 kB / 0.7579 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.8689, allocations: 18.88 kB / 0.7579 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.8689, allocations: 3.906 kB / 0.7579 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.8817, allocations: 2.013 MB / 0.7598 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/0.8819, allocations: 146.1 kB / 0.76 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.5, allocations: 3.812 kB / 0.76 GB, free: 22.95 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)