Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_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.001306/0.001306, 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.7842/0.7842, allocations: 133.6 MB / 141.6 MB, free: 2.852 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.377/1.377, 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.000936/0.0009358, allocations: 90.78 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.106e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4702, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.6256, allocations: 112 MB / 0.7433 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.6259, allocations: 79.95 kB / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01866/0.6445, allocations: 6.229 MB / 0.7495 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6446, allocations: 0 / 0.7495 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.6446, allocations: 0 / 0.7495 GB, free: 4.332 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.0003841/0.645, allocations: 366.3 kB / 0.7498 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.645, allocations: 8.031 kB / 0.7498 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.6452, allocations: 11.89 kB / 0.7498 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6453, allocations: 171 kB / 0.75 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.6454, allocations: 0 / 0.75 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.6454, allocations: 0 / 0.75 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.084e-05/0.6455, allocations: 19.97 kB / 0.75 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.044e-05/0.6455, allocations: 41.69 kB / 0.7501 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6456, allocations: 3.938 kB / 0.7501 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.6456, allocations: 0 / 0.7501 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6456, allocations: 0 / 0.7501 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.6457, allocations: 138.2 kB / 0.7502 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/0.6466, allocations: 130.5 kB / 0.7503 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.6467, allocations: 20.89 kB / 0.7503 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.6468, allocations: 85.09 kB / 0.7504 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.6468, allocations: 30.56 kB / 0.7505 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6469, allocations: 0 / 0.7505 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.647, allocations: 49.69 kB / 0.7505 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.6471, allocations: 55.39 kB / 0.7506 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.6472, allocations: 100.9 kB / 0.7507 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.6472, allocations: 25.7 kB / 0.7507 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.6472, allocations: 80.14 kB / 0.7508 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.6472, allocations: 7.812 kB / 0.7508 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.6472, allocations: 0 / 0.7508 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6474, allocations: 314.8 kB / 0.7511 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.6474, allocations: 8 kB / 0.7511 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.6474, allocations: 8 kB / 0.7511 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.6475, allocations: 12.11 kB / 0.7511 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6475, allocations: 4 kB / 0.7511 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.326e-05/0.6476, allocations: 57.62 kB / 0.7511 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.6476, allocations: 4 kB / 0.7512 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6476, allocations: 0 / 0.7512 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.6476, allocations: 0 / 0.7512 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.6477, allocations: 12 kB / 0.7512 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.6477, allocations: 0 / 0.7512 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.6477, allocations: 0 / 0.7512 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.6477, allocations: 3.938 kB / 0.7512 GB, free: 2.383 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 7.334e-05/0.6478, allocations: 116.9 kB / 0.7513 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.006e-05/0.6479, allocations: 53.64 kB / 0.7513 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.6479, allocations: 0 / 0.7513 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.6482, allocations: 85.69 kB / 0.7514 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6482, allocations: 0 / 0.7514 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6482, allocations: 4 kB / 0.7514 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6482, allocations: 4.172 kB / 0.7514 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.6483, allocations: 138.2 kB / 0.7515 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6483, allocations: 7.938 kB / 0.7516 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.6484, allocations: 4 kB / 0.7516 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.6484, allocations: 7.938 kB / 0.7516 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.6484, allocations: 7.938 kB / 0.7516 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6484, allocations: 0 / 0.7516 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6484, allocations: 0 / 0.7516 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.6485, allocations: 85.11 kB / 0.7517 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.6486, allocations: 85.11 kB / 0.7517 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.6486, allocations: 3.953 kB / 0.7517 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.197e-05/0.6487, allocations: 0 / 0.7517 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.6487, allocations: 7.984 kB / 0.7517 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.6487, allocations: 0 / 0.7517 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.6487, allocations: 75.28 kB / 0.7518 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6487, allocations: 0 / 0.7518 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002557/0.649, allocations: 56.03 kB / 0.7519 GB, free: 1.562 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.0006686/0.6497, allocations: 0.6956 MB / 0.7526 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.37e-05/0.6498, allocations: 24 kB / 0.7526 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6498, allocations: 4 kB / 0.7526 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-05/0.6498, allocations: 19.94 kB / 0.7526 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.65, allocations: 13.66 kB / 0.7526 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.6503, allocations: 121.5 kB / 0.7527 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.6506, allocations: 0.6845 MB / 0.7534 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.62e-05/0.6507, allocations: 11.98 kB / 0.7534 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.6507, allocations: 11.44 kB / 0.7534 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.6507, allocations: 0 / 0.7534 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.672, allocations: 1.371 MB / 0.7548 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.6722, allocations: 176.5 kB / 0.7549 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.197, allocations: 0 / 0.7549 GB, free: 14.33 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)