Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.001469/0.001469, 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.001657/0.001657, allocations: 177 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 0.9576/0.9576, 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.7991/0.7991, allocations: 154.9 MB / 415.1 MB, free: 232 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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.72e-07/7.72e-07, allocations: 0 / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.626e-06/9.398e-06, allocations: 4.516 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.00161/0.001619, allocations: 1.352 MB / 481.7 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.004236, allocations: 3.37 MB / 485.1 MB, free: 1.879 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.004263, allocations: 0 / 485.1 MB, free: 1.879 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.004277, allocations: 8.75 kB / 485.1 MB, free: 1.871 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.196e-05/0.004309, allocations: 7.969 kB / 485.1 MB, free: 1.863 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.004622, allocations: 108.5 kB / 485.2 MB, free: 1.758 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.004678, allocations: 36.47 kB / 485.2 MB, free: 1.723 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.528e-05/0.004703, allocations: 4.625 kB / 485.2 MB, free: 1.719 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.004754, allocations: 31.89 kB / 485.3 MB, free: 1.688 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.004796, allocations: 4.625 kB / 485.3 MB, free: 1.684 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.004804, allocations: 4 kB / 485.3 MB, free: 1.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.004948, allocations: 80.3 kB / 485.4 MB, free: 1.602 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.004958, allocations: 0.625 kB / 485.4 MB, free: 1.602 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.004979, allocations: 28.53 kB / 485.4 MB, free: 1.574 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.005101, allocations: 59.86 kB / 485.4 MB, free: 1.516 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.604e-06/0.005103, allocations: 0.7188 kB / 485.4 MB, free: 1.516 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005104, allocations: 0 / 485.4 MB, free: 1.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.005107, allocations: 0.5312 kB / 485.5 MB, free: 1.516 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.0002227/0.00533, allocations: 249.4 kB / 485.7 MB, free: 1.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.421e-05/0.005354, allocations: 8.031 kB / 485.7 MB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.005427, allocations: 17.95 kB / 485.7 MB, free: 1.227 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.599e-05/0.005483, allocations: 109.7 kB / 485.8 MB, free: 1.094 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.005493, allocations: 9.281 kB / 485.8 MB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.005508, allocations: 12.66 kB / 485.8 MB, free: 1.074 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.592e-05/0.005594, allocations: 123.3 kB / 486 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.0056, allocations: 1 kB / 486 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.005606, allocations: 4.125 kB / 486 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005611, allocations: 4.625 kB / 486 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.005635, allocations: 15.92 kB / 486 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.538e-05/0.005711, allocations: 70.34 kB / 486.1 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.841e-05/0.005759, allocations: 42.56 kB / 486.1 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.005774, allocations: 16.86 kB / 486.1 MB, free: 0.7539 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.006059, allocations: 212.9 kB / 486.3 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.006079, allocations: 39.75 kB / 486.4 MB, free: 496 kB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.00608, allocations: 0 / 486.4 MB, free: 496 kB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003396/0.00642, allocations: 238.8 kB / 486.6 MB, free: 224 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.006439, allocations: 52.03 kB / 486.7 MB, free: 160 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.075e-05/0.006479, allocations: 106.4 kB / 486.8 MB, free: 44 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.006489, allocations: 29.7 kB / 486.8 MB, free: 8 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.006529, allocations: 92.03 kB / 486.9 MB, free: 15.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.006541, allocations: 23.8 kB / 486.9 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.006567, allocations: 30.44 kB / 486.9 MB, free: 15.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.006628, allocations: 318.8 kB / 487.2 MB, free: 15.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.006636, allocations: 5.719 kB / 487.2 MB, free: 15.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.006664, allocations: 48.97 kB / 487.3 MB, free: 15.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.006711, allocations: 65.84 kB / 487.4 MB, free: 15.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006712, allocations: 1.375 kB / 487.4 MB, free: 15.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.898e-05/0.006781, allocations: 85.41 kB / 487.4 MB, free: 15.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.006789, allocations: 4.656 kB / 487.4 MB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.006792, allocations: 0.5938 kB / 487.4 MB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.006803, allocations: 4 kB / 487.4 MB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.264e-05/0.006846, allocations: 25.36 kB / 487.5 MB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.00685, allocations: 4 kB / 487.5 MB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.006868, allocations: 4 kB / 487.5 MB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.006877, allocations: 4 kB / 487.5 MB, free: 15.25 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 4.943e-05/0.006926, allocations: 122.7 kB / 487.6 MB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.006943, allocations: 9.406 kB / 487.6 MB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.006961, allocations: 8.641 kB / 487.6 MB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.006962, allocations: 0 / 487.6 MB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.006965, allocations: 4.828 kB / 487.6 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.006967, allocations: 4 kB / 487.6 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.007081, allocations: 81.88 kB / 487.7 MB, free: 15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007082, allocations: 0.5938 kB / 487.7 MB, free: 15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.007124, allocations: 20.5 kB / 487.7 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007126, allocations: 2.875 kB / 487.7 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.007131, allocations: 3.938 kB / 487.7 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007131, allocations: 0 / 487.7 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.007133, allocations: 4 kB / 487.7 MB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.028e-05/0.007223, allocations: 159.4 kB / 487.9 MB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.007238, allocations: 6.016 kB / 487.9 MB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.007247, allocations: 11.94 kB / 487.9 MB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.007288, allocations: 0 / 487.9 MB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.007299, allocations: 7.984 kB / 487.9 MB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.007302, allocations: 0 / 487.9 MB, free: 14.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.865e-06/0.007309, allocations: 10.27 kB / 487.9 MB, free: 14.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00731, allocations: 0.8438 kB / 487.9 MB, free: 14.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001235/0.007433, allocations: 12 kB / 487.9 MB, free: 14.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 7.259e-05/0.007506, allocations: 85.72 kB / 488 MB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.731e-05/0.007563, allocations: 38.34 kB / 488.1 MB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.007566, allocations: 3.938 kB / 488.1 MB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.007581, allocations: 21.5 kB / 488.1 MB, free: 14.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.007687, allocations: 9.188 kB / 488.1 MB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.008072, allocations: 228.1 kB / 488.3 MB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.825e-05/0.008101, allocations: 55.36 kB / 488.4 MB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.735e-05/0.008128, allocations: 12.45 kB / 488.4 MB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.008175, allocations: 64.62 kB / 488.5 MB, free: 14.23 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008175, allocations: 0 / 488.5 MB, free: 14.23 MB / 458.7 MB Notification: Performance of Templates: time 0.001812/0.009987, allocations: 0.7074 MB / 489.2 MB, free: 13.56 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.453487757127732]