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.001261/0.001261, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001281/0.001281, allocations: 192.3 kB / 17.2 MB, free: 5.594 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8556/0.8556, allocations: 135.2 MB / 426.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.89 kB / 0.506 GB, free: 8.309 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3455, allocations: 80.91 MB / 0.5851 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002139/0.3477, allocations: 1.258 MB / 0.5863 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.3482, allocations: 290 kB / 0.5866 GB, free: 24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.3482, allocations: 0 / 0.5866 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.3483, allocations: 8.609 kB / 0.5866 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.3483, allocations: 9.828 kB / 0.5866 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.3486, allocations: 45.7 kB / 0.5866 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.705e-05/0.3487, allocations: 21.92 kB / 0.5866 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3487, allocations: 1.312 kB / 0.5866 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.3487, allocations: 5.219 kB / 0.5867 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.3488, allocations: 10.83 kB / 0.5867 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3488, allocations: 1.094 kB / 0.5867 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3489, allocations: 57.72 kB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.3489, allocations: 1.656 kB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.349, allocations: 12.09 kB / 0.5867 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3491, allocations: 46.64 kB / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3491, allocations: 0 / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3491, allocations: 2 kB / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3491, allocations: 0 / 0.5868 GB, free: 23.88 MB / 446.1 MB 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.0002929/0.3494, allocations: 340.1 kB / 0.5871 GB, free: 23.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3495, allocations: 11.67 kB / 0.5871 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.3497, allocations: 19.77 kB / 0.5871 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.159e-05/0.3498, allocations: 165.5 kB / 0.5873 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3498, allocations: 6.688 kB / 0.5873 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3498, allocations: 5.688 kB / 0.5873 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.531e-05/0.3499, allocations: 41.16 kB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3499, allocations: 1.625 kB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3499, allocations: 9.234 kB / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3499, allocations: 0 / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.35, allocations: 13.72 kB / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.3501, allocations: 155.1 kB / 0.5875 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.3519, allocations: 271.2 kB / 0.5878 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.352, allocations: 22.59 kB / 0.5878 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.352, allocations: 1.094 kB / 0.5878 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.352, allocations: 33.69 kB / 0.5878 GB, free: 22.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.352, allocations: 0 / 0.5878 GB, free: 22.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001652/0.3522, allocations: 68.62 kB / 0.5879 GB, free: 22.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.3522, allocations: 53.03 kB / 0.5879 GB, free: 22.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.779e-05/0.3522, allocations: 91.73 kB / 0.588 GB, free: 22.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.3523, allocations: 31.86 kB / 0.5881 GB, free: 22.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.016e-05/0.3523, allocations: 80.14 kB / 0.5881 GB, free: 22.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3523, allocations: 14.38 kB / 0.5882 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3523, allocations: 25.08 kB / 0.5882 GB, free: 22.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.3524, allocations: 312.9 kB / 0.5885 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.3524, allocations: 9.156 kB / 0.5885 GB, free: 22.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.6e-05/0.3524, allocations: 8.984 kB / 0.5885 GB, free: 22.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.3525, allocations: 32.42 kB / 0.5885 GB, free: 22.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3525, allocations: 0.9375 kB / 0.5885 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.031e-05/0.3526, allocations: 61.27 kB / 0.5886 GB, free: 22.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3526, allocations: 5.031 kB / 0.5886 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3526, allocations: 9.047 kB / 0.5886 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3526, allocations: 1.344 kB / 0.5886 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.3527, allocations: 5.188 kB / 0.5886 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3527, allocations: 2 kB / 0.5886 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.3527, allocations: 1.125 kB / 0.5886 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.3527, allocations: 1.125 kB / 0.5886 GB, free: 22.12 MB / 446.1 MB 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 4.544e-05/0.3528, allocations: 108.5 kB / 0.5887 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.3528, allocations: 5.25 kB / 0.5887 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.3528, allocations: 16.83 kB / 0.5887 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3528, allocations: 1.562 kB / 0.5887 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3528, allocations: 0 / 0.5887 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3529, allocations: 5.188 kB / 0.5887 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.116e-05/0.3529, allocations: 158.4 kB / 0.5889 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3529, allocations: 1.719 kB / 0.5889 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.353, allocations: 9.469 kB / 0.5889 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.353, allocations: 1.406 kB / 0.5889 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.353, allocations: 3.938 kB / 0.5889 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.353, allocations: 3.438 kB / 0.5889 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.353, allocations: 1.625 kB / 0.5889 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.105e-05/0.3531, allocations: 76.81 kB / 0.589 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.3531, allocations: 82.34 kB / 0.5891 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3532, allocations: 5.125 kB / 0.5891 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.3532, allocations: 5.125 kB / 0.5891 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.3532, allocations: 1.156 kB / 0.5891 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3532, allocations: 2.688 kB / 0.5891 GB, free: 21.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.585e-05/0.3533, allocations: 76.53 kB / 0.5891 GB, free: 21.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3533, allocations: 0.625 kB / 0.5891 GB, free: 21.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.3535, allocations: 6.375 kB / 0.5892 GB, free: 21.52 MB / 446.1 MB 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 8.941e-05/0.3536, allocations: 100.7 kB / 0.5892 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.3537, allocations: 26.91 kB / 0.5893 GB, free: 21.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3537, allocations: 1.25 kB / 0.5893 GB, free: 21.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.3537, allocations: 17.45 kB / 0.5893 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.3539, allocations: 7.438 kB / 0.5893 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.3542, allocations: 158.4 kB / 0.5894 GB, free: 21.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.3544, allocations: 0.6859 MB / 0.5901 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.3544, allocations: 10 kB / 0.5901 GB, free: 20.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3544, allocations: 0 / 0.5901 GB, free: 20.54 MB / 446.1 MB Notification: Performance of Templates: time 0.001897/0.3563, allocations: 0.5267 MB / 0.5906 GB, free: 20.29 MB / 446.1 MB 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)