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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7686/0.7686, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.3 MB / 396.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008534, allocations: 108.9 kB / 479 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.529e-05, allocations: 6.969 kB / 0.5551 GB, free: 86.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1684, allocations: 81.57 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6255/0.7939, allocations: 111.3 MB / 0.7434 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.7942, allocations: 79.31 kB / 0.7435 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004844/0.799, allocations: 1.868 MB / 0.7453 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7991, allocations: 0 / 0.7453 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.7991, allocations: 0 / 0.7453 GB, free: 27.93 MB / 0.5105 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.0002548/0.7993, allocations: 335.9 kB / 0.7457 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.7994, allocations: 11.53 kB / 0.7457 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.7995, allocations: 11.34 kB / 0.7457 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.935e-05/0.7996, allocations: 167 kB / 0.7458 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.7996, allocations: 0 / 0.7458 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.7997, allocations: 11.56 kB / 0.7459 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.7998, allocations: 43.3 kB / 0.7459 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.7998, allocations: 4 kB / 0.7459 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.7998, allocations: 0 / 0.7459 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7998, allocations: 3.875 kB / 0.7459 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.353e-05/0.7999, allocations: 12.5 kB / 0.7459 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.8, allocations: 160 kB / 0.7461 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/0.8001, allocations: 49.08 kB / 0.7461 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.8001, allocations: 19.14 kB / 0.7461 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.8002, allocations: 7.812 kB / 0.7461 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.8002, allocations: 34.44 kB / 0.7462 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.8002, allocations: 0 / 0.7462 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001785/0.802, allocations: 482.1 kB / 0.7466 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.802, allocations: 53.94 kB / 0.7467 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.259e-05/0.8021, allocations: 88.88 kB / 0.7468 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.8021, allocations: 25.7 kB / 0.7468 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.8021, allocations: 80.14 kB / 0.7469 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.8022, allocations: 33.3 kB / 0.7469 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.8022, allocations: 3.75 kB / 0.7469 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8023, allocations: 318.8 kB / 0.7472 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.8023, allocations: 26.62 kB / 0.7472 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.8024, allocations: 23.06 kB / 0.7473 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.813e-05/0.8024, allocations: 21.73 kB / 0.7473 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.8024, allocations: 0 / 0.7473 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001193/0.8026, allocations: 88.23 kB / 0.7474 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.8026, allocations: 7.75 kB / 0.7474 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8026, allocations: 3.438 kB / 0.7474 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.8026, allocations: 0 / 0.7474 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.8027, allocations: 11.62 kB / 0.7474 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8028, allocations: 4.281 kB / 0.7474 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.8028, allocations: 6.719 kB / 0.7474 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.8028, allocations: 3.875 kB / 0.7474 GB, free: 26.15 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.8029, allocations: 112.7 kB / 0.7475 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.8029, allocations: 11.69 kB / 0.7475 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.803, allocations: 15.72 kB / 0.7475 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.803, allocations: 0 / 0.7475 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.803, allocations: 0 / 0.7475 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.803, allocations: 7.891 kB / 0.7475 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.8031, allocations: 175.7 kB / 0.7477 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8031, allocations: 0 / 0.7477 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.8033, allocations: 14.12 kB / 0.7477 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.8033, allocations: 0 / 0.7477 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.8033, allocations: 3.625 kB / 0.7477 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8033, allocations: 3.906 kB / 0.7477 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8033, allocations: 0 / 0.7477 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.8035, allocations: 150.2 kB / 0.7479 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.8035, allocations: 79.98 kB / 0.7479 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.8036, allocations: 11.69 kB / 0.748 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/0.8037, allocations: 3.906 kB / 0.748 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.8037, allocations: 2.672 kB / 0.748 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.8037, allocations: 3.906 kB / 0.748 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.8037, allocations: 75.28 kB / 0.748 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8037, allocations: 0 / 0.748 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001711/0.8039, allocations: 19.44 kB / 0.7481 GB, free: 25.57 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.804, allocations: 109.2 kB / 0.7482 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.8042, allocations: 57.78 kB / 0.7482 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8042, allocations: 0 / 0.7482 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.8042, allocations: 30.91 kB / 0.7482 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.8043, allocations: 13.78 kB / 0.7483 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.8047, allocations: 117.8 kB / 0.7484 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.805, allocations: 0.6792 MB / 0.749 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.706e-05/0.8051, allocations: 14.16 kB / 0.7491 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.8051, allocations: 11.31 kB / 0.7491 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.8051, allocations: 0 / 0.7491 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.002611/0.8077, allocations: 0.6549 MB / 0.7497 GB, free: 24.62 MB / 0.5105 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)