Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_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.001651/0.001651, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8429/0.8429, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.001011/0.001011, allocations: 98.64 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.614e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.4982, allocations: 82.29 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.655, allocations: 112.3 MB / 0.7436 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.6553, allocations: 83.89 kB / 0.7437 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008476/0.6638, allocations: 2.694 MB / 0.7463 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6638, allocations: 0 / 0.7463 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.6639, allocations: 0 / 0.7463 GB, free: 7.605 MB / 0.5261 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.0003695/0.6642, allocations: 360.3 kB / 0.7466 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6643, allocations: 12.03 kB / 0.7466 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.6643, allocations: 3.906 kB / 0.7466 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.6645, allocations: 167 kB / 0.7468 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.157e-05/0.6645, allocations: 25.7 kB / 0.7468 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.6646, allocations: 4 kB / 0.7468 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.645e-05/0.6646, allocations: 15.94 kB / 0.7468 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.6647, allocations: 37.69 kB / 0.7469 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6647, allocations: 0 / 0.7469 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.6647, allocations: 0 / 0.7469 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.6648, allocations: 0 / 0.7469 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.6649, allocations: 142.2 kB / 0.747 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.6651, allocations: 42.61 kB / 0.7471 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.6651, allocations: 12.86 kB / 0.7471 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.6654, allocations: 178.3 kB / 0.7472 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.6655, allocations: 42.5 kB / 0.7473 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6655, allocations: 0 / 0.7473 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0004815/0.666, allocations: 93.56 kB / 0.7474 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.666, allocations: 55.41 kB / 0.7474 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.6661, allocations: 89 kB / 0.7475 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.6661, allocations: 25.7 kB / 0.7475 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.6662, allocations: 80.14 kB / 0.7476 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.6662, allocations: 15.75 kB / 0.7476 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.6662, allocations: 4 kB / 0.7476 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6663, allocations: 318.8 kB / 0.7479 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.6663, allocations: 4 kB / 0.7479 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/0.6664, allocations: 8.234 kB / 0.7479 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.6667, allocations: 52.02 kB / 0.748 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6667, allocations: 0 / 0.748 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003608/0.6671, allocations: 105.5 kB / 0.7481 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6671, allocations: 7.938 kB / 0.7481 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.6671, allocations: 4 kB / 0.7481 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6671, allocations: 0 / 0.7481 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.6672, allocations: 11.98 kB / 0.7481 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.6672, allocations: 0 / 0.7481 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.6672, allocations: 4 kB / 0.7481 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.6672, allocations: 0 / 0.7481 GB, free: 5.484 MB / 0.5261 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 6.967e-05/0.6673, allocations: 101 kB / 0.7482 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004183/0.6677, allocations: 101.5 kB / 0.7483 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.6678, allocations: 4 kB / 0.7483 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.6682, allocations: 109.7 kB / 0.7484 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6682, allocations: 0 / 0.7484 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6682, allocations: 4 kB / 0.7484 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6682, allocations: 0 / 0.7484 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.95e-05/0.6683, allocations: 134.2 kB / 0.7486 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6683, allocations: 3.953 kB / 0.7486 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.6684, allocations: 11.98 kB / 0.7486 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6684, allocations: 4 kB / 0.7486 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.6684, allocations: 0 / 0.7486 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6684, allocations: 4 kB / 0.7486 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6684, allocations: 0 / 0.7486 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.6688, allocations: 121 kB / 0.7487 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.6689, allocations: 100.9 kB / 0.7488 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.6689, allocations: 0 / 0.7488 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.669, allocations: 0 / 0.7488 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.669, allocations: 4 kB / 0.7488 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.669, allocations: 4 kB / 0.7488 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.6691, allocations: 83.27 kB / 0.7489 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6691, allocations: 0 / 0.7489 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002375/0.6693, allocations: 35.94 kB / 0.7489 GB, free: 4.582 MB / 0.5261 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.0007898/0.6701, allocations: 0.6947 MB / 0.7496 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.58e-05/0.6702, allocations: 27.92 kB / 0.7496 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.6702, allocations: 0 / 0.7496 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.6702, allocations: 8 kB / 0.7496 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.6704, allocations: 5.875 kB / 0.7496 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.6707, allocations: 101.8 kB / 0.7497 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.671, allocations: 0.6806 MB / 0.7504 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.929e-05/0.671, allocations: 11.98 kB / 0.7504 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.6711, allocations: 19.31 kB / 0.7504 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.6711, allocations: 0 / 0.7504 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.6898, allocations: 1.324 MB / 0.7517 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.69, allocations: 142.3 kB / 0.7518 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.252, allocations: 1.688 kB / 0.7518 GB, free: 1.43 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)