Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001667/0.001666, allocations: 106 kB / 16.35 MB, free: 5.824 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.001847/0.001847, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7909/0.7909, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 59.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3688, allocations: 80.19 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002488/0.3713, allocations: 1.253 MB / 0.5827 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005508/0.3719, allocations: 302.2 kB / 0.583 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.3719, allocations: 0 / 0.583 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.3719, allocations: 1.031 kB / 0.583 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.372, allocations: 5.344 kB / 0.583 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3723, allocations: 54.22 kB / 0.5831 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.3724, allocations: 17.17 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.3725, allocations: 1.188 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.3725, allocations: 18.02 kB / 0.5831 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.3726, allocations: 7.688 kB / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3726, allocations: 0 / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3728, allocations: 52.89 kB / 0.5832 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.3728, allocations: 1.438 kB / 0.5832 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.3728, allocations: 13.7 kB / 0.5832 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.373, allocations: 54.59 kB / 0.5832 GB, free: 26.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.373, allocations: 0 / 0.5832 GB, free: 26.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.373, allocations: 0 / 0.5832 GB, free: 26.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.373, allocations: 1.188 kB / 0.5832 GB, free: 26.29 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.0003546/0.3734, allocations: 339.3 kB / 0.5835 GB, free: 25.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3734, allocations: 10.69 kB / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.3736, allocations: 19.97 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.833e-05/0.3737, allocations: 162.5 kB / 0.5837 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3737, allocations: 1.688 kB / 0.5837 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3738, allocations: 1.844 kB / 0.5837 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3739, allocations: 46.03 kB / 0.5838 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.3739, allocations: 2.094 kB / 0.5838 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3739, allocations: 3.938 kB / 0.5838 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3739, allocations: 5.484 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.374, allocations: 19.86 kB / 0.5838 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.3741, allocations: 159.6 kB / 0.584 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.3759, allocations: 263.8 kB / 0.5842 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.3759, allocations: 21.7 kB / 0.5842 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.376, allocations: 1.781 kB / 0.5842 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.376, allocations: 33.72 kB / 0.5843 GB, free: 25.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.376, allocations: 0 / 0.5843 GB, free: 25.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001697/0.3762, allocations: 69.19 kB / 0.5843 GB, free: 25.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.3762, allocations: 51.41 kB / 0.5844 GB, free: 25.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.04e-05/0.3763, allocations: 97.12 kB / 0.5845 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3763, allocations: 26.95 kB / 0.5845 GB, free: 25.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.6e-05/0.3763, allocations: 80.14 kB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.3763, allocations: 17.81 kB / 0.5846 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.3764, allocations: 20.62 kB / 0.5846 GB, free: 24.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.3764, allocations: 314.8 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.3765, allocations: 8.766 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.3765, allocations: 9.25 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.3765, allocations: 27.64 kB / 0.585 GB, free: 24.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3765, allocations: 0 / 0.585 GB, free: 24.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.37e-05/0.3766, allocations: 54.47 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3767, allocations: 6.062 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.3767, allocations: 3.938 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3767, allocations: 0 / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.3767, allocations: 13.45 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3768, allocations: 4 kB / 0.585 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.3768, allocations: 0 / 0.585 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3768, allocations: 0.625 kB / 0.585 GB, free: 24.54 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 5.309e-05/0.3769, allocations: 114.6 kB / 0.5851 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.3769, allocations: 7.844 kB / 0.5851 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.3769, allocations: 11.44 kB / 0.5852 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3769, allocations: 7.219 kB / 0.5852 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3769, allocations: 0.625 kB / 0.5852 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3769, allocations: 0 / 0.5852 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.236e-05/0.377, allocations: 164.7 kB / 0.5853 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.377, allocations: 0.5938 kB / 0.5853 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.3771, allocations: 3.5 kB / 0.5853 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3771, allocations: 7.594 kB / 0.5853 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.3771, allocations: 7.469 kB / 0.5853 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3771, allocations: 0 / 0.5853 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3771, allocations: 0 / 0.5853 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.752e-05/0.3772, allocations: 83.36 kB / 0.5854 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.3772, allocations: 77.11 kB / 0.5855 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.3772, allocations: 5.188 kB / 0.5855 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.3773, allocations: 0 / 0.5855 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.3773, allocations: 7.391 kB / 0.5855 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3773, allocations: 0.6562 kB / 0.5855 GB, free: 24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.798e-05/0.3773, allocations: 79.59 kB / 0.5856 GB, free: 23.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.3773, allocations: 0 / 0.5856 GB, free: 23.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000179/0.3775, allocations: 11.75 kB / 0.5856 GB, free: 23.92 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.663e-05/0.3776, allocations: 95.88 kB / 0.5857 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.3777, allocations: 24.3 kB / 0.5857 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3777, allocations: 4 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.3778, allocations: 9.156 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.378, allocations: 14.86 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.3783, allocations: 132.1 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.541e-05/0.3784, allocations: 0.6742 MB / 0.5865 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.063e-05/0.3784, allocations: 3.094 kB / 0.5865 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.3784, allocations: 9.469 kB / 0.5865 GB, free: 22.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3785, allocations: 0.5312 kB / 0.5865 GB, free: 22.98 MB / 446.1 MB Notification: Performance of Templates: time 0.002595/0.3811, allocations: 0.5174 MB / 0.587 GB, free: 22.73 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)