Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_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.001716/0.001716, allocations: 174.6 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.7856/0.7856, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.52/1.52, allocations: 221.3 MB / 400.4 MB, free: 5.785 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.0009959/0.0009959, allocations: 92.97 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.538e-05, allocations: 3.562 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1674, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6343/0.8017, allocations: 112.9 MB / 0.7508 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.802, allocations: 79.88 kB / 0.7509 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008179/0.8101, allocations: 2.711 MB / 0.7535 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8102, allocations: 0 / 0.7535 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8102, allocations: 0 / 0.7535 GB, free: 27.4 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004487/0.8107, allocations: 355.7 kB / 0.7539 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.8107, allocations: 11.69 kB / 0.7539 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/0.8108, allocations: 33.28 kB / 0.7539 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.8108, allocations: 11.69 kB / 0.7539 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.811, allocations: 166.8 kB / 0.7541 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.216e-05/0.8111, allocations: 32.08 kB / 0.7541 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.8111, allocations: 3.562 kB / 0.7541 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.8112, allocations: 40.41 kB / 0.7541 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.8113, allocations: 0 / 0.7541 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.8113, allocations: 0 / 0.7541 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.8113, allocations: 7.844 kB / 0.7542 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.78e-05/0.8114, allocations: 11.31 kB / 0.7542 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.8116, allocations: 158.9 kB / 0.7543 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.8117, allocations: 45.11 kB / 0.7544 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.8118, allocations: 24.28 kB / 0.7544 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.8121, allocations: 186.7 kB / 0.7546 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.8121, allocations: 30.56 kB / 0.7546 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.8121, allocations: 0 / 0.7546 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001637/0.8123, allocations: 51.58 kB / 0.7546 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.8123, allocations: 55.34 kB / 0.7547 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.8124, allocations: 92.12 kB / 0.7548 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.8124, allocations: 25.7 kB / 0.7548 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.8125, allocations: 80.14 kB / 0.7549 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.8125, allocations: 19.38 kB / 0.7549 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.8125, allocations: 0 / 0.7549 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.8126, allocations: 318.6 kB / 0.7552 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.8127, allocations: 7.469 kB / 0.7552 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.8127, allocations: 3.844 kB / 0.7552 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.8127, allocations: 10.7 kB / 0.7552 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8127, allocations: 0 / 0.7552 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.117e-05/0.8128, allocations: 47.92 kB / 0.7553 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.8128, allocations: 3.875 kB / 0.7553 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.8128, allocations: 0 / 0.7553 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.8129, allocations: 7.844 kB / 0.7553 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.8129, allocations: 11.06 kB / 0.7553 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.813, allocations: 0 / 0.7553 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.813, allocations: 3.844 kB / 0.7553 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.813, allocations: 0 / 0.7553 GB, free: 25.58 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 (4): * Single equations (assignments): 4 * 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.941e-05/0.8131, allocations: 112.4 kB / 0.7554 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.8131, allocations: 3.906 kB / 0.7554 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.8133, allocations: 58.2 kB / 0.7555 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8133, allocations: 4 kB / 0.7555 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.8133, allocations: 0 / 0.7555 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8133, allocations: 0 / 0.7555 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.8134, allocations: 163.5 kB / 0.7556 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8135, allocations: 0 / 0.7556 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.8135, allocations: 11.62 kB / 0.7556 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.8135, allocations: 0 / 0.7556 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.8136, allocations: 3.562 kB / 0.7556 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8136, allocations: 0 / 0.7556 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8136, allocations: 7.938 kB / 0.7556 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.8137, allocations: 78.61 kB / 0.7557 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.8138, allocations: 88.14 kB / 0.7558 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.8138, allocations: 3.984 kB / 0.7558 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.8139, allocations: 3.75 kB / 0.7558 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.8139, allocations: 3.094 kB / 0.7558 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.8139, allocations: 7.781 kB / 0.7558 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.681e-05/0.814, allocations: 78.91 kB / 0.7559 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.4e-07/0.814, allocations: 0 / 0.7559 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002676/0.8143, allocations: 42.84 kB / 0.7559 GB, free: 24.96 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 (4): * Single equations (assignments): 4 * 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.0006586/0.8149, allocations: 0.6617 MB / 0.7566 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.68e-05/0.815, allocations: 22.39 kB / 0.7566 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.815, allocations: 0 / 0.7566 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.8151, allocations: 19.22 kB / 0.7566 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.8153, allocations: 3.969 kB / 0.7566 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.8156, allocations: 107.8 kB / 0.7567 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.8161, allocations: 0.6762 MB / 0.7574 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.212e-05/0.8162, allocations: 10.97 kB / 0.7574 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.8162, allocations: 11.28 kB / 0.7574 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.8162, allocations: 0 / 0.7574 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.8326, allocations: 1.624 MB / 0.759 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.8329, allocations: 161.2 kB / 0.7592 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.372, allocations: 0 / 0.7592 GB, free: 23.1 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)