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.001759/0.001759, allocations: 173.9 kB / 7.648 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.7992/0.7992, allocations: 133.6 MB / 141.6 MB, free: 2.934 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.459/1.459, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008376/0.0008374, allocations: 98.23 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.262e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.4592, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5957, allocations: 112.3 MB / 0.7436 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.5959, allocations: 87.94 kB / 0.7437 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008178/0.6041, allocations: 2.679 MB / 0.7463 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6042, allocations: 4 kB / 0.7463 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6042, allocations: 0 / 0.7463 GB, free: 7.656 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.000362/0.6045, allocations: 358.4 kB / 0.7466 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6046, allocations: 12.03 kB / 0.7466 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.6046, allocations: 3.906 kB / 0.7466 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.6048, allocations: 163 kB / 0.7468 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.6049, allocations: 29.7 kB / 0.7468 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.6049, allocations: 0 / 0.7468 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.314e-05/0.6049, allocations: 23.92 kB / 0.7468 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.285e-05/0.605, allocations: 37.7 kB / 0.7469 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.605, allocations: 0 / 0.7469 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6051, allocations: 3.984 kB / 0.7469 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.6051, allocations: 0 / 0.7469 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.6052, allocations: 134.2 kB / 0.747 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.6054, allocations: 46.59 kB / 0.7471 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.6055, allocations: 16.86 kB / 0.7471 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/0.6058, allocations: 182.3 kB / 0.7472 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6058, allocations: 34.5 kB / 0.7473 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.6058, allocations: 0 / 0.7473 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0005266/0.6063, allocations: 97.56 kB / 0.7474 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.6064, allocations: 59.34 kB / 0.7474 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.6065, allocations: 89 kB / 0.7475 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.6065, allocations: 25.7 kB / 0.7475 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.6065, allocations: 84.14 kB / 0.7476 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.6066, allocations: 15.73 kB / 0.7476 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.6066, allocations: 0 / 0.7476 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6067, allocations: 314.8 kB / 0.7479 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.6067, allocations: 4 kB / 0.7479 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.6068, allocations: 4 kB / 0.7479 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.6071, allocations: 63.92 kB / 0.748 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6071, allocations: 0 / 0.748 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003863/0.6075, allocations: 101.5 kB / 0.7481 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.6075, allocations: 4 kB / 0.7481 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6075, allocations: 0 / 0.7481 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6076, allocations: 0 / 0.7481 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.6076, allocations: 8 kB / 0.7481 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.6077, allocations: 3.984 kB / 0.7481 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.6077, allocations: 0 / 0.7481 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.6077, allocations: 4 kB / 0.7481 GB, free: 5.531 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 8.048e-05/0.6078, allocations: 105 kB / 0.7482 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004026/0.6082, allocations: 105.5 kB / 0.7483 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.6082, allocations: 0 / 0.7483 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.6087, allocations: 105.7 kB / 0.7484 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6087, allocations: 0 / 0.7484 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6087, allocations: 0 / 0.7484 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6087, allocations: 4 kB / 0.7484 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.6088, allocations: 134.2 kB / 0.7485 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6088, allocations: 7.953 kB / 0.7486 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.6089, allocations: 7.984 kB / 0.7486 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6089, allocations: 0 / 0.7486 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.6089, allocations: 0 / 0.7486 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6089, allocations: 4 kB / 0.7486 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6089, allocations: 480 / 0.7486 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.6093, allocations: 132.9 kB / 0.7487 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.6094, allocations: 88.95 kB / 0.7488 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.6094, allocations: 4 kB / 0.7488 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.6095, allocations: 0 / 0.7488 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.6095, allocations: 3.984 kB / 0.7488 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.6095, allocations: 8 kB / 0.7488 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.6096, allocations: 79.28 kB / 0.7489 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6096, allocations: 0 / 0.7489 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002466/0.6098, allocations: 35.94 kB / 0.7489 GB, free: 4.629 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.0008663/0.6107, allocations: 0.706 MB / 0.7496 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.764e-05/0.6108, allocations: 19.94 kB / 0.7496 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6108, allocations: 0 / 0.7496 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.6108, allocations: 12 kB / 0.7496 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.6111, allocations: 10.52 kB / 0.7496 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.6114, allocations: 105.6 kB / 0.7497 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.6117, allocations: 0.6845 MB / 0.7504 GB, free: 3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.564e-05/0.6118, allocations: 8 kB / 0.7504 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.6119, allocations: 7.438 kB / 0.7504 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6119, allocations: 0 / 0.7504 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.6324, allocations: 1.326 MB / 0.7517 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/0.6327, allocations: 143.3 kB / 0.7518 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.209, allocations: 4 kB / 0.7519 GB, free: 1.473 MB / 0.5261 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)