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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000945/0.000945, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9799/0.9799, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7303/0.7303, allocations: 154.5 MB / 413.7 MB, free: 0.8633 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.489e-05, allocations: 8.703 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001791/0.001826, allocations: 1.299 MB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.002742, allocations: 0.6114 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.002766, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.002789, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.002841, allocations: 3.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.003332, allocations: 107.4 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.003393, allocations: 31.84 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.003437, allocations: 4 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.003475, allocations: 15.98 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.003544, allocations: 11.92 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.003559, allocations: 4 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.00376, allocations: 135.7 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.003778, allocations: 15.97 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.003801, allocations: 7.938 kB / 0.6203 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.003984, allocations: 107.7 kB / 0.6204 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003987, allocations: 0 / 0.6204 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003988, allocations: 0 / 0.6204 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.003993, allocations: 0 / 0.6204 GB, free: 11.39 MB / 0.5886 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.000403/0.004396, allocations: 282.1 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.004436, allocations: 13.47 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/0.004464, allocations: 34.75 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.004717, allocations: 28.86 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.061e-05/0.004797, allocations: 117.7 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004808, allocations: 384 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.004831, allocations: 8.312 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.004973, allocations: 79.92 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004981, allocations: 192 / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004992, allocations: 8.375 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004997, allocations: 4.125 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.674e-05/0.005074, allocations: 23.97 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.005211, allocations: 132.7 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.005421, allocations: 74.47 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.005466, allocations: 24.94 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.005485, allocations: 0 / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.005505, allocations: 34.56 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.005506, allocations: 0 / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.001642/0.007148, allocations: 0.5088 MB / 0.6217 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.007183, allocations: 59.41 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.698e-05/0.00723, allocations: 89.86 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.007245, allocations: 29.7 kB / 0.6219 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.007271, allocations: 84.14 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.007301, allocations: 19.84 kB / 0.622 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.00734, allocations: 25.7 kB / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.007418, allocations: 314.8 kB / 0.6223 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.007493, allocations: 40.09 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.007561, allocations: 39.95 kB / 0.6224 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.007707, allocations: 76.77 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.007708, allocations: 0 / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002013/0.007909, allocations: 129.6 kB / 0.6226 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.007924, allocations: 11.98 kB / 0.6226 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.007928, allocations: 0 / 0.6226 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.007943, allocations: 3.938 kB / 0.6226 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.008041, allocations: 23.97 kB / 0.6226 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.008046, allocations: 0 / 0.6226 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.008102, allocations: 12 kB / 0.6226 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.008113, allocations: 3.984 kB / 0.6226 GB, free: 8.855 MB / 0.5886 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 (7): * Single equations (assignments): 7 * 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.419e-05/0.008177, allocations: 114.8 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.008189, allocations: 3.938 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.00824, allocations: 20.12 kB / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.008244, allocations: 7.938 kB / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.008249, allocations: 0 / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.008252, allocations: 0 / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.008358, allocations: 151 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008359, allocations: 0 / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.00845, allocations: 23.97 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.008452, allocations: 0 / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.008462, allocations: 3.984 kB / 0.6229 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.008465, allocations: 7.938 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008466, allocations: 4 kB / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.008786, allocations: 188.9 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-06/0.008793, allocations: 4.031 kB / 0.6231 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.008809, allocations: 0 / 0.6231 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.00888, allocations: 19.98 kB / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.008897, allocations: 3.984 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.008906, allocations: 8 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.422e-05/0.00893, allocations: 75.28 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00893, allocations: 0 / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001765/0.009107, allocations: 35.86 kB / 0.6232 GB, free: 8.121 MB / 0.5886 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 (6): * Single equations (assignments): 6 * 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.0005623/0.009669, allocations: 0.7529 MB / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.009864, allocations: 84 kB / 0.6241 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.009866, allocations: 0 / 0.6241 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/0.009939, allocations: 47.95 kB / 0.6241 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.0101, allocations: 13.84 kB / 0.6241 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.01143, allocations: 1.356 MB / 0.6254 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.577e-05/0.01146, allocations: 59.36 kB / 0.6255 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.898e-05/0.01156, allocations: 35.95 kB / 0.6255 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.01163, allocations: 20.48 kB / 0.6256 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.01163, allocations: 0 / 0.6256 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.02738, allocations: 3.212 MB / 0.6287 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/6.908, allocations: 16.97 kB / 0.6287 GB, free: 2.637 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.818671260029078] Failed to read output from testmodel.py, exit status != 0: 6.992476009763777 7.00674875 7.000862203 Calling exit ...