Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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-master/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-master/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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 174.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.768/0.768, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 395.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 103 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.222e-05, allocations: 4 kB / 0.5535 GB, free: 9.047 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.535, allocations: 82.3 MB / 0.6338 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.7012, allocations: 111.9 MB / 0.7431 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.7016, allocations: 91.94 kB / 0.7432 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008745/0.7103, allocations: 2.865 MB / 0.746 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7104, allocations: 7.875 kB / 0.746 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.7104, allocations: 0 / 0.746 GB, free: 7.953 MB / 0.5261 GB 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.0003614/0.7108, allocations: 346.4 kB / 0.7463 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.7108, allocations: 12.02 kB / 0.7463 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.7112, allocations: 27.88 kB / 0.7464 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.7113, allocations: 167 kB / 0.7465 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.7113, allocations: 4 kB / 0.7465 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.7114, allocations: 0 / 0.7465 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001057/0.7115, allocations: 23.98 kB / 0.7465 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.7116, allocations: 53.55 kB / 0.7466 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7116, allocations: 0 / 0.7466 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.7116, allocations: 0 / 0.7466 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.7116, allocations: 3.984 kB / 0.7466 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.7118, allocations: 146.1 kB / 0.7467 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.712, allocations: 46.61 kB / 0.7468 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.7121, allocations: 24.94 kB / 0.7468 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.7121, allocations: 0 / 0.7468 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.7121, allocations: 38.56 kB / 0.7468 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.7121, allocations: 0 / 0.7468 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.001745/0.7139, allocations: 426.1 kB / 0.7472 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.7139, allocations: 51.41 kB / 0.7473 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.714, allocations: 89 kB / 0.7474 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.7141, allocations: 25.7 kB / 0.7474 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.7141, allocations: 80.14 kB / 0.7475 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.7142, allocations: 27.64 kB / 0.7475 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.7142, allocations: 0 / 0.7475 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7144, allocations: 315 kB / 0.7478 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.7144, allocations: 35.92 kB / 0.7478 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.7145, allocations: 23.98 kB / 0.7479 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.694e-05/0.7146, allocations: 27.98 kB / 0.7479 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7146, allocations: 3.953 kB / 0.7479 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001891/0.7148, allocations: 97.64 kB / 0.748 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.7148, allocations: 9.562 kB / 0.748 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7148, allocations: 0 / 0.748 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.7149, allocations: 0 / 0.748 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.7151, allocations: 27.97 kB / 0.748 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7151, allocations: 0 / 0.748 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.7153, allocations: 7.984 kB / 0.748 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.7153, allocations: 3.984 kB / 0.748 GB, free: 5.609 MB / 0.5261 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 (7): * Single equations (assignments): 7 * 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 8.981e-05/0.7154, allocations: 108.9 kB / 0.7481 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.7154, allocations: 3.953 kB / 0.7481 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.7155, allocations: 20.34 kB / 0.7482 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7155, allocations: 0 / 0.7482 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.7155, allocations: 0 / 0.7482 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.7155, allocations: 3.938 kB / 0.7482 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.7157, allocations: 165.4 kB / 0.7483 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7157, allocations: 0 / 0.7483 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.7159, allocations: 27.98 kB / 0.7483 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.7159, allocations: 8 kB / 0.7484 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.7159, allocations: 7.984 kB / 0.7484 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7159, allocations: 0 / 0.7484 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7159, allocations: 0 / 0.7484 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.7162, allocations: 161 kB / 0.7485 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.7163, allocations: 77.11 kB / 0.7486 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.7163, allocations: 7.984 kB / 0.7486 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.7165, allocations: 15.98 kB / 0.7486 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.7165, allocations: 4 kB / 0.7486 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.7165, allocations: 3.984 kB / 0.7486 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.7166, allocations: 79.28 kB / 0.7487 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7166, allocations: 0 / 0.7487 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002484/0.7168, allocations: 31.98 kB / 0.7487 GB, free: 4.816 MB / 0.5261 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 (6): * Single equations (assignments): 6 * 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.000239/0.7171, allocations: 135.3 kB / 0.7489 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.7173, allocations: 63.97 kB / 0.7489 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7173, allocations: 0 / 0.7489 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.7173, allocations: 43.91 kB / 0.749 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.7175, allocations: 6.812 kB / 0.749 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.718, allocations: 109.9 kB / 0.7491 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.7183, allocations: 0.6846 MB / 0.7497 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.7186, allocations: 31.88 kB / 0.7498 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.7186, allocations: 27.34 kB / 0.7498 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.7186, allocations: 0 / 0.7498 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of Templates: time 0.00371/0.7224, allocations: 1.462 MB / 0.7512 GB, free: 2.234 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)