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.001511/0.001511, allocations: 102.7 kB / 16.35 MB, free: 6.289 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.001193/0.001193, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.374/1.374, 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.8056/0.8056, allocations: 132.2 MB / 423.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 59.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4103, allocations: 80.18 MB / 0.5815 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.003756/0.4141, allocations: 1.254 MB / 0.5827 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005885/0.4147, allocations: 242.3 kB / 0.583 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.4148, allocations: 0 / 0.583 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.4148, allocations: 0.8125 kB / 0.583 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.4149, allocations: 7.875 kB / 0.583 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.4153, allocations: 45.66 kB / 0.583 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.4154, allocations: 18.28 kB / 0.583 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.4155, allocations: 5.328 kB / 0.583 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.4155, allocations: 9.203 kB / 0.583 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.4156, allocations: 12.28 kB / 0.583 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.4156, allocations: 1.312 kB / 0.583 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.4158, allocations: 43.61 kB / 0.5831 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.4158, allocations: 5.141 kB / 0.5831 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.4159, allocations: 9.344 kB / 0.5831 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.416, allocations: 41.64 kB / 0.5831 GB, free: 26.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.416, allocations: 1 kB / 0.5831 GB, free: 26.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.416, allocations: 0 / 0.5831 GB, free: 26.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.4161, allocations: 0 / 0.5831 GB, free: 26.51 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.0004022/0.4165, allocations: 333 kB / 0.5835 GB, free: 26.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4165, allocations: 13.95 kB / 0.5835 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.4167, allocations: 11.31 kB / 0.5835 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.603e-05/0.4168, allocations: 172.2 kB / 0.5836 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4168, allocations: 2.906 kB / 0.5837 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.4169, allocations: 10.92 kB / 0.5837 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.417, allocations: 46.28 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.417, allocations: 0.9375 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4171, allocations: 5.375 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4171, allocations: 3.156 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.4172, allocations: 12.69 kB / 0.5837 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.4173, allocations: 158.6 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.4175, allocations: 41.75 kB / 0.5839 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.4175, allocations: 23.75 kB / 0.5839 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.4176, allocations: 4.719 kB / 0.5839 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.4176, allocations: 39.16 kB / 0.584 GB, free: 25.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.4176, allocations: 0 / 0.584 GB, free: 25.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.002358/0.42, allocations: 0.4906 MB / 0.5845 GB, free: 25.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.42, allocations: 53.12 kB / 0.5845 GB, free: 25.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.028e-05/0.42, allocations: 89.86 kB / 0.5846 GB, free: 25.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4201, allocations: 36.78 kB / 0.5846 GB, free: 25.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.845e-05/0.4201, allocations: 80.14 kB / 0.5847 GB, free: 24.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.4201, allocations: 26.94 kB / 0.5847 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.4202, allocations: 19.19 kB / 0.5848 GB, free: 24.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.4203, allocations: 316.6 kB / 0.5851 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.4203, allocations: 23.88 kB / 0.5851 GB, free: 24.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.4204, allocations: 28.39 kB / 0.5851 GB, free: 24.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/0.4205, allocations: 59.89 kB / 0.5852 GB, free: 24.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4205, allocations: 0 / 0.5852 GB, free: 24.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001344/0.4206, allocations: 94.92 kB / 0.5853 GB, free: 24.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4206, allocations: 11.28 kB / 0.5853 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4206, allocations: 0 / 0.5853 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4207, allocations: 1.625 kB / 0.5853 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.4208, allocations: 15.53 kB / 0.5853 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.4208, allocations: 0 / 0.5853 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.4209, allocations: 2.25 kB / 0.5853 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.4209, allocations: 1.406 kB / 0.5853 GB, free: 24.44 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 6.029e-05/0.421, allocations: 119 kB / 0.5854 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.421, allocations: 9.125 kB / 0.5854 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.421, allocations: 13.44 kB / 0.5854 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4211, allocations: 1.062 kB / 0.5854 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4211, allocations: 0 / 0.5854 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4211, allocations: 1.344 kB / 0.5854 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.4212, allocations: 177.6 kB / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4212, allocations: 0 / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.4214, allocations: 15.91 kB / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4214, allocations: 6.25 kB / 0.5856 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4214, allocations: 1.125 kB / 0.5856 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4214, allocations: 5.344 kB / 0.5856 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4214, allocations: 0 / 0.5856 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.4216, allocations: 146.8 kB / 0.5858 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.4217, allocations: 82.52 kB / 0.5858 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.4217, allocations: 6.406 kB / 0.5858 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.4218, allocations: 4.188 kB / 0.5858 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.4218, allocations: 7.734 kB / 0.5859 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.4219, allocations: 1.5 kB / 0.5859 GB, free: 23.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.563e-05/0.4219, allocations: 79.91 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4219, allocations: 0.8438 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.4221, allocations: 14.69 kB / 0.5859 GB, free: 23.77 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.0001123/0.4222, allocations: 104.8 kB / 0.586 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.4224, allocations: 61.06 kB / 0.5861 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4224, allocations: 1.438 kB / 0.5861 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.4224, allocations: 30.84 kB / 0.5861 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.4227, allocations: 12.41 kB / 0.5861 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.4232, allocations: 183.4 kB / 0.5863 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.159e-05/0.4233, allocations: 0.6814 MB / 0.587 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.58e-05/0.4234, allocations: 16.08 kB / 0.587 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.4234, allocations: 11.28 kB / 0.587 GB, free: 22.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4234, allocations: 0.7188 kB / 0.587 GB, free: 22.76 MB / 446.1 MB Notification: Performance of Templates: time 0.003784/0.4272, allocations: 0.6916 MB / 0.5877 GB, free: 22.45 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)