Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005286/0.005286, allocations: 94.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 200.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.999/0.999, allocations: 135.1 MB / 425.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.88 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4609, allocations: 80.91 MB / 0.6646 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001979/0.4629, allocations: 1.264 MB / 0.6659 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005347/0.4635, allocations: 291.9 kB / 0.6662 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.4635, allocations: 0 / 0.6662 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.4636, allocations: 5.281 kB / 0.6662 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.4636, allocations: 3.938 kB / 0.6662 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.4639, allocations: 48.91 kB / 0.6662 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.464, allocations: 25.27 kB / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.464, allocations: 5.438 kB / 0.6662 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.4641, allocations: 12.23 kB / 0.6662 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.4641, allocations: 3.031 kB / 0.6662 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.4641, allocations: 1.25 kB / 0.6663 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.4643, allocations: 56.36 kB / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.4643, allocations: 5 kB / 0.6663 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.4643, allocations: 11.86 kB / 0.6663 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.4645, allocations: 47.97 kB / 0.6664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4645, allocations: 1.312 kB / 0.6664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4645, allocations: 0 / 0.6664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.4645, allocations: 0 / 0.6664 GB, free: 6.281 MB / 0.4981 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.0002987/0.4648, allocations: 336.7 kB / 0.6667 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4648, allocations: 8.906 kB / 0.6667 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.465, allocations: 24.59 kB / 0.6667 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.287e-05/0.4651, allocations: 164.4 kB / 0.6669 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.4651, allocations: 1.844 kB / 0.6669 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.4651, allocations: 1.688 kB / 0.6669 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.4652, allocations: 49.73 kB / 0.6669 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4653, allocations: 4.125 kB / 0.6669 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4653, allocations: 7.938 kB / 0.6669 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4653, allocations: 1.031 kB / 0.6669 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.4653, allocations: 16.98 kB / 0.667 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.4655, allocations: 154.4 kB / 0.6671 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.4672, allocations: 272.9 kB / 0.6674 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.4672, allocations: 21.73 kB / 0.6674 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.4672, allocations: 0 / 0.6674 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4673, allocations: 31.84 kB / 0.6674 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.4673, allocations: 0 / 0.6674 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000177/0.4675, allocations: 65.59 kB / 0.6675 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.4675, allocations: 56.5 kB / 0.6675 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.151e-05/0.4675, allocations: 99.09 kB / 0.6676 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.4675, allocations: 25.7 kB / 0.6677 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.387e-05/0.4676, allocations: 80.14 kB / 0.6677 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.4676, allocations: 22.02 kB / 0.6677 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.4676, allocations: 13.56 kB / 0.6678 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.4677, allocations: 318.8 kB / 0.6681 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.4677, allocations: 8.391 kB / 0.6681 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.4677, allocations: 9.094 kB / 0.6681 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.4678, allocations: 24.7 kB / 0.6681 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4678, allocations: 4 kB / 0.6681 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.674e-05/0.4679, allocations: 53.12 kB / 0.6682 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4679, allocations: 6.031 kB / 0.6682 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4679, allocations: 3.938 kB / 0.6682 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4679, allocations: 0 / 0.6682 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.468, allocations: 9.75 kB / 0.6682 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.468, allocations: 3.984 kB / 0.6682 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.468, allocations: 1.156 kB / 0.6682 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.468, allocations: 4.969 kB / 0.6682 GB, free: 4.508 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.4681, allocations: 112.8 kB / 0.6683 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.4681, allocations: 5.547 kB / 0.6683 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.4682, allocations: 15.77 kB / 0.6683 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4682, allocations: 1.188 kB / 0.6683 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4682, allocations: 0 / 0.6683 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4682, allocations: 5.203 kB / 0.6683 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.409e-05/0.4683, allocations: 155.1 kB / 0.6685 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4683, allocations: 0 / 0.6685 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.4683, allocations: 5.219 kB / 0.6685 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4683, allocations: 0 / 0.6685 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4683, allocations: 9.219 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4683, allocations: 3.984 kB / 0.6685 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4683, allocations: 3.938 kB / 0.6685 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.826e-05/0.4684, allocations: 82.84 kB / 0.6686 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.4685, allocations: 78.64 kB / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.4685, allocations: 7.875 kB / 0.6687 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.4686, allocations: 1.469 kB / 0.6687 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.4686, allocations: 4.984 kB / 0.6687 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.4686, allocations: 5.25 kB / 0.6687 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.708e-05/0.4686, allocations: 80.75 kB / 0.6687 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4686, allocations: 0 / 0.6687 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001807/0.4688, allocations: 6.375 kB / 0.6687 GB, free: 3.879 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001003/0.4689, allocations: 97.39 kB / 0.6688 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.904e-05/0.469, allocations: 25.48 kB / 0.6689 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.469, allocations: 1.594 kB / 0.6689 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.469, allocations: 18.97 kB / 0.6689 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.4693, allocations: 9.578 kB / 0.6689 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.4696, allocations: 133.2 kB / 0.669 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.4697, allocations: 0.6729 MB / 0.6697 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.4697, allocations: 5.438 kB / 0.6697 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.4698, allocations: 9.844 kB / 0.6697 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4698, allocations: 0 / 0.6697 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.002363/0.4721, allocations: 0.5192 MB / 0.6702 GB, free: 2.652 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)