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.002138/0.002138, allocations: 85.48 kB / 19.44 MB, free: 340 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.002679/0.002679, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.343/1.343, allocations: 154.8 MB / 414.4 MB, free: 488 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 178] 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 1.553e-06/1.553e-06, allocations: 0 / 0.5198 GB, free: 2.355 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.424e-05/3.579e-05, allocations: 6.312 kB / 0.5198 GB, free: 2.348 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002718/0.002754, allocations: 1.284 MB / 0.5211 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.007845, allocations: 3.358 MB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.007878, allocations: 0.9688 kB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.007896, allocations: 0 / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.007951, allocations: 7.875 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.008564, allocations: 113.4 kB / 0.5245 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.00865, allocations: 31.86 kB / 0.5245 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.008689, allocations: 8.609 kB / 0.5245 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.008771, allocations: 27.91 kB / 0.5245 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.008838, allocations: 13.8 kB / 0.5245 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.008856, allocations: 4 kB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.009102, allocations: 67.69 kB / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.009125, allocations: 15.97 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.009155, allocations: 9.719 kB / 0.5246 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.009373, allocations: 75.72 kB / 0.5247 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.009376, allocations: 0 / 0.5247 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.009377, allocations: 0 / 0.5247 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.009382, allocations: 0 / 0.5247 GB, free: 13.35 MB / 0.4948 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.0006423/0.01002, allocations: 369.6 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.01007, allocations: 12.03 kB / 0.5251 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.01021, allocations: 16.81 kB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.01031, allocations: 105.2 kB / 0.5252 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.01033, allocations: 9.125 kB / 0.5252 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.01036, allocations: 4.375 kB / 0.5252 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.01056, allocations: 136.8 kB / 0.5253 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.01057, allocations: 192 / 0.5253 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.01058, allocations: 4.125 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.01059, allocations: 4 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.007e-05/0.01065, allocations: 14.45 kB / 0.5253 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.01083, allocations: 124.6 kB / 0.5255 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.01096, allocations: 51.12 kB / 0.5255 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.011, allocations: 23.83 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/0.01163, allocations: 304.4 kB / 0.5258 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.01166, allocations: 40.14 kB / 0.5259 GB, free: 12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.01166, allocations: 0 / 0.5259 GB, free: 12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0006334/0.0123, allocations: 229.7 kB / 0.5261 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.01234, allocations: 51.41 kB / 0.5261 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.01248, allocations: 165.9 kB / 0.5263 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.0125, allocations: 25.7 kB / 0.5263 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.01258, allocations: 144 kB / 0.5265 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.0126, allocations: 19.84 kB / 0.5265 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.01266, allocations: 35.33 kB / 0.5265 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002726/0.01293, allocations: 496.1 kB / 0.527 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.01297, allocations: 21.3 kB / 0.527 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/0.01305, allocations: 66.11 kB / 0.5271 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.01317, allocations: 91.97 kB / 0.5271 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01318, allocations: 4 kB / 0.5272 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001613/0.01334, allocations: 103.6 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01335, allocations: 10.66 kB / 0.5273 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01336, allocations: 3.984 kB / 0.5273 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01338, allocations: 4.656 kB / 0.5273 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.01346, allocations: 20.59 kB / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.01346, allocations: 0 / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.0135, allocations: 4.656 kB / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.01351, allocations: 8 kB / 0.5273 GB, free: 10.38 MB / 0.4948 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 0.0001332/0.01364, allocations: 177.5 kB / 0.5275 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.01367, allocations: 7.938 kB / 0.5275 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.0137, allocations: 10.56 kB / 0.5275 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.0137, allocations: 0 / 0.5275 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01371, allocations: 0 / 0.5275 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01371, allocations: 0 / 0.5275 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.01395, allocations: 136.6 kB / 0.5276 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01395, allocations: 0 / 0.5276 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/0.01404, allocations: 19.98 kB / 0.5276 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01405, allocations: 3.094 kB / 0.5276 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.01405, allocations: 0 / 0.5276 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01405, allocations: 80 / 0.5276 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.01406, allocations: 3.984 kB / 0.5276 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.01432, allocations: 231.8 kB / 0.5279 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.01435, allocations: 11.95 kB / 0.5279 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.01436, allocations: 0 / 0.5279 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.01445, allocations: 4 kB / 0.5279 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.01448, allocations: 4.516 kB / 0.5279 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.01449, allocations: 4 kB / 0.5279 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.646e-05/0.01456, allocations: 124.4 kB / 0.528 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01456, allocations: 4 kB / 0.528 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000226/0.01479, allocations: 8 kB / 0.528 GB, free: 9.586 MB / 0.4948 GB 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 0.0001619/0.01495, allocations: 105.4 kB / 0.5281 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.0151, allocations: 56.5 kB / 0.5282 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0151, allocations: 0 / 0.5282 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.01514, allocations: 27.61 kB / 0.5282 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.01539, allocations: 17.7 kB / 0.5282 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.01598, allocations: 259.9 kB / 0.5285 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.066e-05/0.01606, allocations: 67.34 kB / 0.5285 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.904e-05/0.01611, allocations: 10.36 kB / 0.5285 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.01614, allocations: 12.5 kB / 0.5285 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.01614, allocations: 1.312 kB / 0.5286 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of Templates: time 0.003874/0.02002, allocations: 0.6286 MB / 0.5292 GB, free: 8.441 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.318500485969707]