Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001232/0.001232, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.000988/0.000988, allocations: 209.7 kB / 22.24 MB, free: 3.57 MB / 13.93 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 1.047/1.047, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.8564/0.8564, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 62.62 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5907/0.5918, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001784/0.5936, allocations: 1.263 MB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.596, allocations: 2.383 MB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.596, allocations: 3.938 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.596, allocations: 6.984 kB / 0.8214 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.5961, allocations: 8.625 kB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.5967, allocations: 130.8 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.5968, allocations: 31.39 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.5968, allocations: 0.7969 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.5968, allocations: 29.3 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.5969, allocations: 14.22 kB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.5969, allocations: 5.312 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.5972, allocations: 105.7 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.5972, allocations: 6.047 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.5972, allocations: 15.44 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.5974, allocations: 77.53 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5974, allocations: 0 / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5974, allocations: 1.031 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.5974, allocations: 0 / 0.8218 GB, free: 14.36 MB / 0.6198 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.0004139/0.5978, allocations: 280.9 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5979, allocations: 9.953 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.5979, allocations: 40.34 kB / 0.8221 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.5981, allocations: 21.67 kB / 0.8221 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.5982, allocations: 103.2 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.5982, allocations: 3.688 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.5982, allocations: 11.31 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.5984, allocations: 148.6 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.5984, allocations: 0 / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.5984, allocations: 4 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.5984, allocations: 4 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.5985, allocations: 15.34 kB / 0.8224 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.599, allocations: 416.6 kB / 0.8228 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.5992, allocations: 73.83 kB / 0.8228 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.5992, allocations: 27.94 kB / 0.8229 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.5992, allocations: 2.219 kB / 0.8229 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5992, allocations: 34.17 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.5992, allocations: 0 / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005636/0.5998, allocations: 225.6 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.5998, allocations: 110.9 kB / 0.8232 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.5999, allocations: 103.3 kB / 0.8233 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.5999, allocations: 25.7 kB / 0.8233 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.6, allocations: 89.38 kB / 0.8234 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.6, allocations: 27.91 kB / 0.8235 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.6, allocations: 29.27 kB / 0.8235 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.6001, allocations: 319.9 kB / 0.8238 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.6001, allocations: 12.06 kB / 0.8238 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.863e-05/0.6002, allocations: 60.25 kB / 0.8239 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.595e-05/0.6002, allocations: 72.53 kB / 0.8239 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6002, allocations: 0 / 0.8239 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001242/0.6004, allocations: 95.28 kB / 0.824 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6004, allocations: 5.625 kB / 0.824 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6004, allocations: 1.625 kB / 0.824 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6004, allocations: 2.344 kB / 0.824 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.6005, allocations: 26.73 kB / 0.8241 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.6005, allocations: 7.531 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.6005, allocations: 1.406 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.6005, allocations: 7.562 kB / 0.8241 GB, free: 12.05 MB / 0.6198 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 6.782e-05/0.6006, allocations: 119 kB / 0.8242 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.6006, allocations: 3.969 kB / 0.8242 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.6007, allocations: 10.22 kB / 0.8242 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6007, allocations: 4.969 kB / 0.8242 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6007, allocations: 1.875 kB / 0.8242 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.6007, allocations: 1.062 kB / 0.8242 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.6009, allocations: 155.3 kB / 0.8244 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6009, allocations: 5.125 kB / 0.8244 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.601, allocations: 16.33 kB / 0.8244 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.601, allocations: 6.016 kB / 0.8244 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.601, allocations: 1.094 kB / 0.8244 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.601, allocations: 2.094 kB / 0.8244 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.601, allocations: 1.344 kB / 0.8244 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.6012, allocations: 335.9 kB / 0.8247 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.6013, allocations: 9.75 kB / 0.8247 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.6013, allocations: 3.359 kB / 0.8247 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.6014, allocations: 3.562 kB / 0.8247 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.6014, allocations: 15.86 kB / 0.8247 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.6014, allocations: 3.672 kB / 0.8247 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.702e-05/0.6014, allocations: 79.75 kB / 0.8248 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.6014, allocations: 0 / 0.8248 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000212/0.6016, allocations: 14.25 kB / 0.8248 GB, free: 11.34 MB / 0.6198 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.0005188/0.6022, allocations: 0.8642 MB / 0.8257 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.6023, allocations: 46.88 kB / 0.8257 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6023, allocations: 1.281 kB / 0.8257 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.6023, allocations: 15.88 kB / 0.8257 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.6027, allocations: 12.89 kB / 0.8257 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.6039, allocations: 1.694 MB / 0.8274 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.604, allocations: 71.06 kB / 0.8275 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.282e-05/0.604, allocations: 16.17 kB / 0.8275 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.6041, allocations: 12.5 kB / 0.8275 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.6041, allocations: 0 / 0.8275 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.6255, allocations: 2.228 MB / 0.8297 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.557, allocations: 3.594 kB / 0.8297 GB, free: 7.91 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.79287089407444] Failed to read output from testmodel.py, exit status != 0: 7.635886205825955 7.65188627 7.05162188 Calling exit ...