Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.0009428/0.0009428, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009738/0.0009738, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.916/0.916, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7079/0.7079, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.252e-05, allocations: 7.094 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001658/0.00168, allocations: 1.276 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.003934, allocations: 2.378 MB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.003978, allocations: 0 / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.004002, allocations: 4 kB / 0.6216 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.004066, allocations: 7.922 kB / 0.6217 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.004753, allocations: 135.2 kB / 0.6218 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.004847, allocations: 43.83 kB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.004892, allocations: 0 / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.004956, allocations: 19.98 kB / 0.6218 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.214e-05/0.005028, allocations: 19.91 kB / 0.6219 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.005042, allocations: 0 / 0.6219 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.005296, allocations: 107.7 kB / 0.622 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.005315, allocations: 7.984 kB / 0.622 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.005338, allocations: 11.98 kB / 0.622 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.00552, allocations: 87.72 kB / 0.6221 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005523, allocations: 4 kB / 0.6221 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005524, allocations: 0 / 0.6221 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.005528, allocations: 0 / 0.6221 GB, free: 9.594 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003738/0.005902, allocations: 270.3 kB / 0.6223 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.00594, allocations: 8.031 kB / 0.6223 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.005974, allocations: 38.75 kB / 0.6224 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.006109, allocations: 16.88 kB / 0.6224 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.006181, allocations: 109.7 kB / 0.6225 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.006193, allocations: 8.375 kB / 0.6225 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.006215, allocations: 8.375 kB / 0.6225 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.006356, allocations: 149.9 kB / 0.6227 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.006364, allocations: 4.172 kB / 0.6227 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.006375, allocations: 7.938 kB / 0.6227 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.006381, allocations: 0 / 0.6227 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.006418, allocations: 11.94 kB / 0.6227 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.006872, allocations: 408.3 kB / 0.6231 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.006974, allocations: 71.69 kB / 0.6231 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.006997, allocations: 26.7 kB / 0.6232 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.007007, allocations: 4 kB / 0.6232 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.007029, allocations: 38.5 kB / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.00703, allocations: 3.938 kB / 0.6232 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004544/0.007484, allocations: 221.2 kB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.007532, allocations: 106.8 kB / 0.6235 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.007605, allocations: 109.8 kB / 0.6236 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.007616, allocations: 25.7 kB / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.007658, allocations: 92.28 kB / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.007674, allocations: 23.86 kB / 0.6238 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.007711, allocations: 29.66 kB / 0.6238 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.0078, allocations: 318.8 kB / 0.6241 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.007822, allocations: 15.98 kB / 0.6241 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.007861, allocations: 53.14 kB / 0.6242 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.01e-05/0.007931, allocations: 69.03 kB / 0.6242 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007934, allocations: 4 kB / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.665e-05/0.00803, allocations: 98.06 kB / 0.6243 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.008044, allocations: 4 kB / 0.6243 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.008051, allocations: 4 kB / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.008064, allocations: 96 / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.008118, allocations: 19.98 kB / 0.6243 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.008126, allocations: 4 kB / 0.6243 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.008149, allocations: 7.922 kB / 0.6244 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.008156, allocations: 4 kB / 0.6244 GB, free: 6.922 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.267e-05/0.008229, allocations: 126.8 kB / 0.6245 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.008263, allocations: 7.953 kB / 0.6245 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.008292, allocations: 15.86 kB / 0.6245 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.008296, allocations: 8 kB / 0.6245 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.008301, allocations: 0 / 0.6245 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008305, allocations: 0 / 0.6245 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.008531, allocations: 148.7 kB / 0.6246 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008533, allocations: 0 / 0.6246 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.00858, allocations: 15.98 kB / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008582, allocations: 0 / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.008589, allocations: 7.938 kB / 0.6247 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.008591, allocations: 4 kB / 0.6247 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008592, allocations: 3.938 kB / 0.6247 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.008788, allocations: 326 kB / 0.625 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.008815, allocations: 7.953 kB / 0.625 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.008829, allocations: 4 kB / 0.625 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.008924, allocations: 8.031 kB / 0.625 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.008938, allocations: 0 / 0.625 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.008946, allocations: 8 kB / 0.625 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.88e-05/0.008974, allocations: 87.2 kB / 0.6251 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008975, allocations: 3.938 kB / 0.6251 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002048/0.009179, allocations: 16 kB / 0.6251 GB, free: 6.074 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (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 Backend phase and start with SimCode phase: time 0.00036/0.009539, allocations: 0.8555 MB / 0.626 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.009638, allocations: 51.91 kB / 0.626 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.00964, allocations: 0 / 0.626 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.009658, allocations: 23.92 kB / 0.626 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.009956, allocations: 4.375 kB / 0.626 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.01103, allocations: 1.634 MB / 0.6276 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.019e-05/0.01109, allocations: 75.39 kB / 0.6277 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.01112, allocations: 4 kB / 0.6277 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.01116, allocations: 16.5 kB / 0.6277 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.01116, allocations: 7.938 kB / 0.6277 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.0265, allocations: 2.365 MB / 0.63 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.788, allocations: 5.75 kB / 0.63 GB, free: 1.074 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.668231568299234] Failed to read output from testmodel.py, exit status != 0: 6.866441745311022 6.877221632 6.869737583 Calling exit ...