Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001442/0.001442, allocations: 180.9 kB / 7.651 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.859/0.859, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.577/1.577, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0008773/0.0008772, allocations: 105 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.151e-05, allocations: 4 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5299/0.53, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.7239, allocations: 112 MB / 0.7433 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.7242, allocations: 79.95 kB / 0.7434 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01896/0.7432, allocations: 6.23 MB / 0.7495 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7432, allocations: 0 / 0.7495 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.7432, allocations: 0 / 0.7495 GB, free: 4.309 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.0004701/0.7437, allocations: 366.3 kB / 0.7498 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.7438, allocations: 16.02 kB / 0.7498 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.744, allocations: 7.906 kB / 0.7498 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.7441, allocations: 163 kB / 0.75 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.7441, allocations: 4 kB / 0.75 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.7441, allocations: 7.984 kB / 0.75 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.33e-05/0.7442, allocations: 12 kB / 0.75 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/0.7443, allocations: 37.69 kB / 0.7501 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7444, allocations: 4 kB / 0.7501 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.7444, allocations: 0 / 0.7501 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.7444, allocations: 0 / 0.7501 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.7446, allocations: 142.1 kB / 0.7502 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008298/0.7454, allocations: 122.5 kB / 0.7503 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.7455, allocations: 24.94 kB / 0.7503 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.7456, allocations: 89.09 kB / 0.7504 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.7456, allocations: 30.56 kB / 0.7505 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.7456, allocations: 0 / 0.7505 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002065/0.7458, allocations: 53.67 kB / 0.7505 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.7459, allocations: 59.34 kB / 0.7506 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.746, allocations: 85 kB / 0.7506 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.746, allocations: 29.83 kB / 0.7507 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.746, allocations: 84.14 kB / 0.7508 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.7461, allocations: 7.812 kB / 0.7508 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.7461, allocations: 0 / 0.7508 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.7462, allocations: 314.8 kB / 0.7511 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.7462, allocations: 4 kB / 0.7511 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.7462, allocations: 11.98 kB / 0.7511 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.7463, allocations: 8 kB / 0.7511 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7463, allocations: 0 / 0.7511 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000108/0.7464, allocations: 65.77 kB / 0.7511 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.7464, allocations: 8 kB / 0.7512 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7464, allocations: 0 / 0.7512 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.7465, allocations: 4.031 kB / 0.7512 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.7465, allocations: 4 kB / 0.7512 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7465, allocations: 0 / 0.7512 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.7466, allocations: 7.938 kB / 0.7512 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.7466, allocations: 3.984 kB / 0.7512 GB, free: 2.352 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.831e-05/0.7467, allocations: 104.9 kB / 0.7513 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001158/0.7468, allocations: 61.64 kB / 0.7513 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.7468, allocations: 4 kB / 0.7513 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.7471, allocations: 81.67 kB / 0.7514 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7471, allocations: 4 kB / 0.7514 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7471, allocations: 3.938 kB / 0.7514 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.7471, allocations: 4 kB / 0.7514 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.7473, allocations: 138.2 kB / 0.7516 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7473, allocations: 0 / 0.7516 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.7474, allocations: 8 kB / 0.7516 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7474, allocations: 7.891 kB / 0.7516 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.7474, allocations: 3.938 kB / 0.7516 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7474, allocations: 0 / 0.7516 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7474, allocations: 0 / 0.7516 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.7476, allocations: 93.11 kB / 0.7517 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.7477, allocations: 77.11 kB / 0.7517 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.7477, allocations: 3.953 kB / 0.7517 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.7477, allocations: 4 kB / 0.7517 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.7478, allocations: 3.984 kB / 0.7517 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.7478, allocations: 0 / 0.7517 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.7478, allocations: 79.28 kB / 0.7518 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.365e-06/0.7478, allocations: 0 / 0.7518 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003295/0.7482, allocations: 51.88 kB / 0.7519 GB, free: 1.539 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 (5): * Single equations (assignments): 5 * 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.0007814/0.7489, allocations: 0.6914 MB / 0.7526 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.7491, allocations: 24 kB / 0.7526 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.7491, allocations: 4 kB / 0.7526 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.7491, allocations: 19.94 kB / 0.7526 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.7493, allocations: 9.828 kB / 0.7526 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.7497, allocations: 125.5 kB / 0.7527 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.7501, allocations: 0.6768 MB / 0.7534 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.085e-05/0.7502, allocations: 15.92 kB / 0.7534 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.7502, allocations: 15.44 kB / 0.7534 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.7502, allocations: 0 / 0.7534 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.7732, allocations: 1.376 MB / 0.7548 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.7735, allocations: 177.4 kB / 0.7549 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.284, allocations: 0 / 0.7549 GB, free: 14.31 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)