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.001021/0.001021, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001475/0.001475, allocations: 213.7 kB / 22.25 MB, free: 3.711 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 0.9913/0.9913, allocations: 230.6 MB / 256 MB, free: 9.812 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.8538/0.8538, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.001334/0.001334, allocations: 62.69 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.574/0.5753, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001939/0.5773, allocations: 1.294 MB / 0.8191 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.5799, allocations: 2.599 MB / 0.8216 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.58, allocations: 0 / 0.8216 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.58, allocations: 4.703 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.5801, allocations: 4.641 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.5806, allocations: 130.4 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.064e-05/0.5807, allocations: 38.38 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.5807, allocations: 8.781 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.5807, allocations: 16.16 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.5808, allocations: 17.88 kB / 0.8219 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.5808, allocations: 5.125 kB / 0.8219 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.5811, allocations: 114.9 kB / 0.822 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.5811, allocations: 20.78 kB / 0.822 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.5811, allocations: 15.11 kB / 0.822 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.5814, allocations: 77.67 kB / 0.8221 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5814, allocations: 0 / 0.8221 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5814, allocations: 3.938 kB / 0.8221 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.5814, allocations: 0 / 0.8221 GB, free: 14.32 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.0003962/0.5818, allocations: 276.6 kB / 0.8223 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5818, allocations: 12.72 kB / 0.8224 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.5818, allocations: 33.36 kB / 0.8224 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.582, allocations: 16.7 kB / 0.8224 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.57e-05/0.5821, allocations: 107.1 kB / 0.8225 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5821, allocations: 384 / 0.8225 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.5821, allocations: 11.86 kB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.5822, allocations: 75.36 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5822, allocations: 4 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5823, allocations: 8.156 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5823, allocations: 0 / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.799e-05/0.5823, allocations: 11.55 kB / 0.8226 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.5828, allocations: 414.6 kB / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5829, allocations: 77.78 kB / 0.8231 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.5829, allocations: 25.77 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.5829, allocations: 0 / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.5829, allocations: 41.72 kB / 0.8231 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.5829, allocations: 0 / 0.8231 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005123/0.5834, allocations: 224.3 kB / 0.8234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.5835, allocations: 109.1 kB / 0.8235 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.5836, allocations: 100 kB / 0.8236 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.5836, allocations: 26.83 kB / 0.8236 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.5836, allocations: 90.28 kB / 0.8237 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.5836, allocations: 29.33 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.5837, allocations: 28.2 kB / 0.8237 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.5837, allocations: 321.1 kB / 0.824 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.5838, allocations: 14.42 kB / 0.824 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.143e-05/0.5838, allocations: 51.69 kB / 0.8241 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.5839, allocations: 77.34 kB / 0.8242 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5839, allocations: 1.031 kB / 0.8242 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001015/0.584, allocations: 98.72 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.584, allocations: 6.328 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.584, allocations: 1.656 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.584, allocations: 2.688 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.294e-05/0.5841, allocations: 22.33 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5841, allocations: 2.531 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.5841, allocations: 5.438 kB / 0.8243 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.5841, allocations: 8.875 kB / 0.8243 GB, free: 12.1 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.261e-05/0.5842, allocations: 118.2 kB / 0.8244 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.5842, allocations: 8.25 kB / 0.8244 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.5842, allocations: 9.109 kB / 0.8244 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5842, allocations: 2.766 kB / 0.8244 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5842, allocations: 0 / 0.8244 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5842, allocations: 4.5 kB / 0.8245 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.5845, allocations: 155 kB / 0.8246 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5845, allocations: 0.6562 kB / 0.8246 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.5845, allocations: 15.84 kB / 0.8246 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5845, allocations: 6.391 kB / 0.8246 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.5845, allocations: 0.6562 kB / 0.8246 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5845, allocations: 2.531 kB / 0.8246 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5845, allocations: 8.547 kB / 0.8246 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.5847, allocations: 327.2 kB / 0.8249 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.5848, allocations: 9.797 kB / 0.825 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.5848, allocations: 1.688 kB / 0.825 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.5849, allocations: 4.219 kB / 0.825 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.5849, allocations: 16.8 kB / 0.825 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.5849, allocations: 2.938 kB / 0.825 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.5849, allocations: 82.66 kB / 0.8251 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5849, allocations: 0 / 0.8251 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002106/0.5851, allocations: 22.66 kB / 0.8251 GB, free: 11.38 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.0004422/0.5856, allocations: 0.8559 MB / 0.8259 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.5857, allocations: 45.36 kB / 0.826 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5857, allocations: 1.188 kB / 0.826 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.5857, allocations: 16.89 kB / 0.826 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.5861, allocations: 20.91 kB / 0.826 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.5873, allocations: 1.692 MB / 0.8276 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.5875, allocations: 0.6851 MB / 0.8283 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.5875, allocations: 18.55 kB / 0.8283 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.5875, allocations: 11.62 kB / 0.8283 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/0.5875, allocations: 0 / 0.8283 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.6072, allocations: 1.839 MB / 0.8301 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/7.317, allocations: 5.219 kB / 0.8301 GB, free: 7.754 MB / 0.6198 GB " [Timeout remaining time 653] (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.582761839032173] Failed to read output from testmodel.py, exit status != 0: 7.398399450117722 7.408434998 6.824828244 Calling exit ...