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.0008846/0.0008846, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0008486/0.0008486, allocations: 211.2 kB / 23 MB, free: 2.977 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.9592/0.9592, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7764/0.7764, allocations: 203.8 MB / 0.5049 GB, free: 10.46 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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [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.0009284/0.0009284, allocations: 67.31 kB / 0.7194 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.524, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001769/0.5258, allocations: 1.277 MB / 0.8202 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.5281, allocations: 2.391 MB / 0.8226 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.5281, allocations: 1.219 kB / 0.8226 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.5281, allocations: 5.016 kB / 0.8226 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.5282, allocations: 4.5 kB / 0.8226 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.5287, allocations: 137.2 kB / 0.8227 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.5288, allocations: 36.36 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.5288, allocations: 1.734 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.902e-05/0.5289, allocations: 22.53 kB / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.5289, allocations: 16.52 kB / 0.8228 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.5289, allocations: 1.125 kB / 0.8228 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.5291, allocations: 103.7 kB / 0.8229 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.5292, allocations: 3.688 kB / 0.8229 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.5292, allocations: 19.81 kB / 0.8229 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.5294, allocations: 83.31 kB / 0.823 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5294, allocations: 1.031 kB / 0.823 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5294, allocations: 0 / 0.823 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5294, allocations: 0 / 0.823 GB, free: 14.65 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.0003641/0.5297, allocations: 280.1 kB / 0.8233 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5298, allocations: 9.75 kB / 0.8233 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.5299, allocations: 12.3 kB / 0.8233 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.904e-05/0.53, allocations: 105.2 kB / 0.8234 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.53, allocations: 6.703 kB / 0.8234 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.53, allocations: 7.547 kB / 0.8234 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.5302, allocations: 154.9 kB / 0.8235 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5302, allocations: 0 / 0.8235 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5302, allocations: 5.094 kB / 0.8235 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5302, allocations: 1.859 kB / 0.8235 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.5303, allocations: 9.375 kB / 0.8236 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.5307, allocations: 394.1 kB / 0.8239 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.5308, allocations: 69.34 kB / 0.824 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.5309, allocations: 30.14 kB / 0.824 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.5309, allocations: 1.031 kB / 0.824 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.5309, allocations: 38.09 kB / 0.8241 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.5309, allocations: 0 / 0.8241 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000482/0.5314, allocations: 229.9 kB / 0.8243 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.5314, allocations: 104.3 kB / 0.8244 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.5315, allocations: 104.5 kB / 0.8245 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.5315, allocations: 31.55 kB / 0.8245 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.5315, allocations: 90.25 kB / 0.8246 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.5316, allocations: 31.12 kB / 0.8246 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.5316, allocations: 25.28 kB / 0.8247 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.5317, allocations: 323.4 kB / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.5317, allocations: 13.69 kB / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.5317, allocations: 51.53 kB / 0.825 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.5318, allocations: 79.75 kB / 0.8251 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5318, allocations: 1.25 kB / 0.8251 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000106/0.5319, allocations: 103.4 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5319, allocations: 6.312 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5319, allocations: 2.438 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.532, allocations: 2.125 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.532, allocations: 23.84 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.532, allocations: 1.219 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.532, allocations: 2.25 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.5321, allocations: 3.719 kB / 0.8252 GB, free: 12.43 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.309e-05/0.5321, allocations: 122.4 kB / 0.8254 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.5322, allocations: 3.5 kB / 0.8254 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.5322, allocations: 14.25 kB / 0.8254 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5322, allocations: 2.25 kB / 0.8254 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5322, allocations: 0 / 0.8254 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5322, allocations: 2.969 kB / 0.8254 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.5324, allocations: 125.8 kB / 0.8255 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5324, allocations: 1.125 kB / 0.8255 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.5324, allocations: 15.83 kB / 0.8255 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5324, allocations: 1.219 kB / 0.8255 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5324, allocations: 1.25 kB / 0.8255 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5325, allocations: 1.797 kB / 0.8255 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5325, allocations: 9.031 kB / 0.8255 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.5326, allocations: 336.8 kB / 0.8258 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.5327, allocations: 10.33 kB / 0.8259 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.5327, allocations: 2.141 kB / 0.8259 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.5328, allocations: 3.328 kB / 0.8259 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.5328, allocations: 4.906 kB / 0.8259 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.5328, allocations: 7.281 kB / 0.8259 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.5328, allocations: 79.48 kB / 0.8259 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5328, allocations: 0 / 0.8259 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001994/0.533, allocations: 15.38 kB / 0.826 GB, free: 11.75 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.0001053/0.5331, allocations: 108.2 kB / 0.8261 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.5332, allocations: 49.69 kB / 0.8261 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5332, allocations: 1.406 kB / 0.8261 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.5333, allocations: 20.42 kB / 0.8261 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.5336, allocations: 7.5 kB / 0.8261 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.534, allocations: 370.3 kB / 0.8265 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.832e-05/0.5341, allocations: 74.95 kB / 0.8266 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.5341, allocations: 15.59 kB / 0.8266 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.5341, allocations: 0 / 0.8266 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.001927/0.536, allocations: 0.8122 MB / 0.8274 GB, free: 11.16 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.784777245949954] Failed to read output from testmodel.py, exit status != 0: 0.5413319021463394 0.555838841 0.024078457 Calling exit ...