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.0009282/0.0009282, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001907/0.001907, allocations: 177.3 kB / 23.36 MB, free: 1.133 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 1.031/1.031, allocations: 177.2 MB / 203.8 MB, free: 5.473 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-535:34: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-535:42: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.803/0.803, allocations: 154.9 MB / 415.1 MB, free: 236 kB / 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: 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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.636e-05, allocations: 5.281 kB / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.006839/0.006865, allocations: 1.347 MB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.01303, allocations: 2.621 MB / 484.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.01307, allocations: 0.625 kB / 484.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.01309, allocations: 0 / 484.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.01313, allocations: 4.609 kB / 484.3 MB, free: 2.621 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003605/0.01674, allocations: 133.1 kB / 484.5 MB, free: 2.492 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.01683, allocations: 35.86 kB / 484.5 MB, free: 2.457 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.01686, allocations: 4.703 kB / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.01694, allocations: 27.91 kB / 484.5 MB, free: 2.426 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.01701, allocations: 24.44 kB / 484.6 MB, free: 2.402 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.01702, allocations: 0.9062 kB / 484.6 MB, free: 2.402 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.01734, allocations: 107.7 kB / 484.7 MB, free: 2.297 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.01736, allocations: 5.031 kB / 484.7 MB, free: 2.293 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.01739, allocations: 15.97 kB / 484.7 MB, free: 2.277 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.01758, allocations: 87.72 kB / 484.8 MB, free: 2.191 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01759, allocations: 0.9062 kB / 484.8 MB, free: 2.191 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01759, allocations: 0 / 484.8 MB, free: 2.191 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.0176, allocations: 0.875 kB / 484.8 MB, free: 2.191 MB / 442.7 MB 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.0003349/0.01793, allocations: 244.5 kB / 485 MB, free: 1.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.01797, allocations: 12.64 kB / 485 MB, free: 1.918 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.0182, allocations: 30.09 kB / 485.1 MB, free: 1.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.897e-05/0.01828, allocations: 112.5 kB / 485.2 MB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.01829, allocations: 4.375 kB / 485.2 MB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.01832, allocations: 16.77 kB / 485.2 MB, free: 1.738 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.01845, allocations: 137.9 kB / 485.3 MB, free: 1.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.01846, allocations: 1.5 kB / 485.3 MB, free: 1.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.01847, allocations: 8.125 kB / 485.3 MB, free: 1.562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.01848, allocations: 0 / 485.3 MB, free: 1.562 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.01851, allocations: 24.97 kB / 485.4 MB, free: 1.539 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.01892, allocations: 328.7 kB / 485.7 MB, free: 1.195 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.01903, allocations: 72.64 kB / 485.8 MB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.01906, allocations: 19.14 kB / 485.8 MB, free: 1.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.01907, allocations: 4 kB / 485.8 MB, free: 1.066 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.0191, allocations: 43.94 kB / 485.8 MB, free: 1.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.0191, allocations: 0 / 485.8 MB, free: 1.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.003586/0.02268, allocations: 247.5 kB / 486.1 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.02273, allocations: 106.8 kB / 486.2 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/0.0228, allocations: 107.4 kB / 486.3 MB, free: 0.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.02282, allocations: 25.7 kB / 486.3 MB, free: 480 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.02287, allocations: 88.75 kB / 486.4 MB, free: 388 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.02289, allocations: 27.73 kB / 486.4 MB, free: 360 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.02293, allocations: 30.28 kB / 486.4 MB, free: 324 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.571e-05/0.02303, allocations: 316.3 kB / 486.7 MB, free: 0 / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.02307, allocations: 8.047 kB / 486.8 MB, free: 15.99 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.104e-05/0.02312, allocations: 53.02 kB / 486.8 MB, free: 15.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.663e-05/0.0232, allocations: 63 kB / 486.9 MB, free: 15.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.0232, allocations: 0 / 486.9 MB, free: 15.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001166/0.02331, allocations: 78.33 kB / 486.9 MB, free: 15.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.02333, allocations: 8.594 kB / 487 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.02333, allocations: 0 / 487 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.02335, allocations: 4.531 kB / 487 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.02343, allocations: 25.77 kB / 487 MB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.02343, allocations: 4 kB / 487 MB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.02347, allocations: 0 / 487 MB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.02348, allocations: 8 kB / 487 MB, free: 15.71 MB / 458.7 MB 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.828e-05/0.02355, allocations: 113.8 kB / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.02361, allocations: 17.89 kB / 487.1 MB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.02364, allocations: 7.812 kB / 487.1 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02364, allocations: 4 kB / 487.1 MB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.02364, allocations: 0 / 487.1 MB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.02365, allocations: 3.938 kB / 487.1 MB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.02393, allocations: 79.52 kB / 487.2 MB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.02393, allocations: 4 kB / 487.2 MB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.024, allocations: 15.98 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.024, allocations: 0 / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.02401, allocations: 11.23 kB / 487.2 MB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.02402, allocations: 7.875 kB / 487.3 MB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02402, allocations: 1.219 kB / 487.3 MB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.02421, allocations: 322 kB / 487.6 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.02424, allocations: 7.984 kB / 487.6 MB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.02425, allocations: 0.75 kB / 487.6 MB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.0244, allocations: 11.94 kB / 487.6 MB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.02442, allocations: 9.359 kB / 487.6 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.02443, allocations: 0 / 487.6 MB, free: 15.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.198e-05/0.02444, allocations: 8.859 kB / 487.6 MB, free: 15.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02444, allocations: 0.625 kB / 487.6 MB, free: 15.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.02477, allocations: 16 kB / 487.6 MB, free: 15.04 MB / 458.7 MB 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.0001177/0.02489, allocations: 81.95 kB / 487.7 MB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.108e-05/0.02498, allocations: 57.27 kB / 487.8 MB, free: 14.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.02498, allocations: 1.562 kB / 487.8 MB, free: 14.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.02501, allocations: 16.86 kB / 487.8 MB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/0.02839, allocations: 15.92 kB / 487.8 MB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.02902, allocations: 246.2 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.073e-05/0.02907, allocations: 55.36 kB / 488.1 MB, free: 14.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.02912, allocations: 14.52 kB / 488.1 MB, free: 14.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.02919, allocations: 60.62 kB / 488.2 MB, free: 14.48 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02919, allocations: 0 / 488.2 MB, free: 14.48 MB / 458.7 MB Notification: Performance of Templates: time 0.005856/0.03505, allocations: 0.7462 MB / 488.9 MB, free: 13.81 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7540067909285426]