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.007906/0.007906, allocations: 102.4 kB / 15.73 MB, free: 6.438 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.00184/0.001841, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7939/0.7939, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 71.89 kB / 0.5814 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4246, allocations: 80.2 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002148/0.4268, allocations: 1.244 MB / 0.6609 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005878/0.4274, allocations: 247.4 kB / 0.6611 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.4275, allocations: 1.156 kB / 0.6611 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.4275, allocations: 3.938 kB / 0.6611 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.4275, allocations: 0.75 kB / 0.6611 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.4279, allocations: 40.39 kB / 0.6612 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.428, allocations: 20.88 kB / 0.6612 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.428, allocations: 5.953 kB / 0.6612 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.992e-05/0.4281, allocations: 7.188 kB / 0.6612 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.4282, allocations: 17.97 kB / 0.6612 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.4282, allocations: 1.719 kB / 0.6612 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.4283, allocations: 42.77 kB / 0.6613 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.4284, allocations: 5.25 kB / 0.6613 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.4284, allocations: 12.31 kB / 0.6613 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.4286, allocations: 43.53 kB / 0.6613 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4286, allocations: 0.6562 kB / 0.6613 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4286, allocations: 0 / 0.6613 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.4286, allocations: 0 / 0.6613 GB, free: 9.227 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004274/0.4291, allocations: 337.4 kB / 0.6617 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4291, allocations: 8.844 kB / 0.6617 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.4293, allocations: 12.48 kB / 0.6617 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.113e-05/0.4294, allocations: 161.1 kB / 0.6618 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4294, allocations: 5.688 kB / 0.6618 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.4294, allocations: 6.266 kB / 0.6618 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4295, allocations: 42.67 kB / 0.6619 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4296, allocations: 1.438 kB / 0.6619 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4296, allocations: 4.734 kB / 0.6619 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4296, allocations: 5.469 kB / 0.6619 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.4297, allocations: 12.81 kB / 0.6619 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.4298, allocations: 159.2 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.4299, allocations: 41.42 kB / 0.6621 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.43, allocations: 23.23 kB / 0.6621 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.43, allocations: 1.469 kB / 0.6621 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.43, allocations: 44.48 kB / 0.6622 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.43, allocations: 0 / 0.6622 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002127/0.4322, allocations: 0.4975 MB / 0.6627 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.4322, allocations: 52.44 kB / 0.6627 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.915e-05/0.4322, allocations: 90.52 kB / 0.6628 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.4322, allocations: 30.77 kB / 0.6628 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.398e-05/0.4323, allocations: 80.14 kB / 0.6629 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.4323, allocations: 22.2 kB / 0.6629 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.4323, allocations: 20.05 kB / 0.6629 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.4324, allocations: 313.7 kB / 0.6632 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.4325, allocations: 30.44 kB / 0.6633 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.4325, allocations: 27.11 kB / 0.6633 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.4326, allocations: 64.34 kB / 0.6633 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4326, allocations: 4 kB / 0.6634 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001346/0.4328, allocations: 92.39 kB / 0.6634 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4328, allocations: 9.438 kB / 0.6634 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4328, allocations: 0 / 0.6634 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4328, allocations: 2.25 kB / 0.6635 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.433, allocations: 17.27 kB / 0.6635 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.433, allocations: 0.5156 kB / 0.6635 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.433, allocations: 5.281 kB / 0.6635 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.433, allocations: 2.062 kB / 0.6635 GB, free: 7.23 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 (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.321e-05/0.4331, allocations: 114.3 kB / 0.6636 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.4331, allocations: 5.656 kB / 0.6636 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.4332, allocations: 16.56 kB / 0.6636 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4332, allocations: 1.062 kB / 0.6636 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4332, allocations: 1.766 kB / 0.6636 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4332, allocations: 0 / 0.6636 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.4333, allocations: 172.5 kB / 0.6638 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4333, allocations: 4 kB / 0.6638 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.4335, allocations: 14.09 kB / 0.6638 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4335, allocations: 5.188 kB / 0.6638 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.4335, allocations: 0 / 0.6638 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4335, allocations: 1.766 kB / 0.6638 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4335, allocations: 0 / 0.6638 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.4337, allocations: 149.7 kB / 0.6639 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.4337, allocations: 86.7 kB / 0.664 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.4338, allocations: 9.531 kB / 0.664 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4339, allocations: 3.875 kB / 0.664 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.4339, allocations: 5.547 kB / 0.664 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.4339, allocations: 2.938 kB / 0.664 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.236e-05/0.4339, allocations: 75.38 kB / 0.6641 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4339, allocations: 3.938 kB / 0.6641 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001921/0.4341, allocations: 14.38 kB / 0.6641 GB, free: 6.559 MB / 0.4981 GB 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.0001196/0.4342, allocations: 102.7 kB / 0.6642 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.4344, allocations: 62.05 kB / 0.6643 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4344, allocations: 3.938 kB / 0.6643 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.4345, allocations: 30.42 kB / 0.6643 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4347, allocations: 7.938 kB / 0.6643 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.4352, allocations: 183.4 kB / 0.6645 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.4354, allocations: 0.6868 MB / 0.6652 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.085e-05/0.4354, allocations: 14.81 kB / 0.6652 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.4355, allocations: 14 kB / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.4355, allocations: 0 / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of Templates: time 0.002771/0.4383, allocations: 0.699 MB / 0.6659 GB, free: 5.203 MB / 0.4981 GB 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)