Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 101.1 kB / 16.27 MB, free: 5.965 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.001206/0.001206, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8291/0.8291, allocations: 132.2 MB / 423.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.88 kB / 0.5025 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3547, allocations: 80.18 MB / 0.5808 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002108/0.3569, allocations: 1.257 MB / 0.582 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000438/0.3573, allocations: 232.2 kB / 0.5822 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.3574, allocations: 0.625 kB / 0.5822 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.3574, allocations: 3.219 kB / 0.5822 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.377e-05/0.3575, allocations: 3.984 kB / 0.5822 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3578, allocations: 47.89 kB / 0.5823 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.731e-05/0.3578, allocations: 13.05 kB / 0.5823 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.3579, allocations: 1.469 kB / 0.5823 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.3579, allocations: 15.52 kB / 0.5823 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.358, allocations: 10.58 kB / 0.5823 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.358, allocations: 1.469 kB / 0.5823 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.3581, allocations: 47.86 kB / 0.5823 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3581, allocations: 1.75 kB / 0.5823 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.3582, allocations: 4.969 kB / 0.5823 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.3583, allocations: 41.36 kB / 0.5824 GB, free: 26.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.3583, allocations: 5.562 kB / 0.5824 GB, free: 26.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3583, allocations: 0 / 0.5824 GB, free: 26.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3583, allocations: 0 / 0.5824 GB, free: 26.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003752/0.3587, allocations: 336 kB / 0.5827 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3588, allocations: 9.625 kB / 0.5827 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.3589, allocations: 20.45 kB / 0.5827 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.153e-05/0.359, allocations: 168.3 kB / 0.5829 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.359, allocations: 1.594 kB / 0.5829 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.359, allocations: 3.25 kB / 0.5829 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.3591, allocations: 47.91 kB / 0.5829 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3592, allocations: 192 / 0.5829 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3592, allocations: 5.219 kB / 0.583 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3592, allocations: 1.188 kB / 0.583 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.3592, allocations: 17.77 kB / 0.583 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.3594, allocations: 158.2 kB / 0.5831 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.3595, allocations: 46.72 kB / 0.5832 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.3595, allocations: 27.06 kB / 0.5832 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.3595, allocations: 5.656 kB / 0.5832 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.3595, allocations: 31.75 kB / 0.5832 GB, free: 25.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3595, allocations: 1.531 kB / 0.5832 GB, free: 25.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.002018/0.3616, allocations: 0.4923 MB / 0.5837 GB, free: 24.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.3616, allocations: 52.59 kB / 0.5838 GB, free: 24.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.711e-05/0.3616, allocations: 90.64 kB / 0.5838 GB, free: 24.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.3616, allocations: 27.11 kB / 0.5839 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.272e-05/0.3617, allocations: 81.52 kB / 0.584 GB, free: 24.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3617, allocations: 31.38 kB / 0.584 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.3618, allocations: 27.95 kB / 0.584 GB, free: 24.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.3618, allocations: 316.2 kB / 0.5843 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.3618, allocations: 24.8 kB / 0.5843 GB, free: 24.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.3619, allocations: 19.69 kB / 0.5844 GB, free: 24.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.362, allocations: 59.41 kB / 0.5844 GB, free: 24.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.362, allocations: 0.5312 kB / 0.5844 GB, free: 24.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001297/0.3621, allocations: 91.75 kB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3622, allocations: 12.5 kB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3622, allocations: 1.188 kB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3622, allocations: 1.156 kB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3623, allocations: 12 kB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3624, allocations: 1.344 kB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.3624, allocations: 5.734 kB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3624, allocations: 10.06 kB / 0.5845 GB, free: 23.94 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 (9): * Single equations (assignments): 9 * 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.574e-05/0.3625, allocations: 108.1 kB / 0.5846 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.3625, allocations: 10.38 kB / 0.5847 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.3626, allocations: 18.25 kB / 0.5847 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3626, allocations: 1.219 kB / 0.5847 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.3626, allocations: 1.344 kB / 0.5847 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3626, allocations: 0 / 0.5847 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.126e-05/0.3627, allocations: 172.6 kB / 0.5848 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3627, allocations: 1.531 kB / 0.5848 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3629, allocations: 16.95 kB / 0.5849 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3629, allocations: 3.938 kB / 0.5849 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3629, allocations: 5.312 kB / 0.5849 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3629, allocations: 9.562 kB / 0.5849 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3629, allocations: 1.188 kB / 0.5849 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.3631, allocations: 143.7 kB / 0.585 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.3631, allocations: 82.17 kB / 0.5851 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3632, allocations: 5.125 kB / 0.5851 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.3633, allocations: 3.5 kB / 0.5851 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.3633, allocations: 12.17 kB / 0.5851 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3633, allocations: 2.125 kB / 0.5851 GB, free: 23.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.375e-05/0.3634, allocations: 76.81 kB / 0.5852 GB, free: 23.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3634, allocations: 0 / 0.5852 GB, free: 23.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.3636, allocations: 10.62 kB / 0.5852 GB, free: 23.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0001035/0.3637, allocations: 105.2 kB / 0.5853 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.3638, allocations: 66.44 kB / 0.5854 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3639, allocations: 0 / 0.5854 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.3639, allocations: 37.77 kB / 0.5854 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.3642, allocations: 8.25 kB / 0.5854 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.3647, allocations: 206.7 kB / 0.5856 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.3648, allocations: 0.6795 MB / 0.5863 GB, free: 22.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.3649, allocations: 11.41 kB / 0.5863 GB, free: 22.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3649, allocations: 1 kB / 0.5863 GB, free: 22.24 MB / 446.1 MB Notification: Performance of Templates: time 0.002118/0.367, allocations: 0.8825 MB / 0.5871 GB, free: 21.82 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)