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.0006494/0.0006494, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008711/0.00152, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006846/0.0006846, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008974/0.001582, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9396/0.9396, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07807/1.018, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7259/0.7259, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2694/0.9953, allocations: 49.14 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.313e-06/1.313e-06, allocations: 0 / 449.9 MB, free: 4.633 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/1.109e-05, allocations: 2.312 kB / 449.9 MB, free: 4.629 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001527/0.001538, allocations: 1.358 MB / 451.3 MB, free: 3.289 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.004246, allocations: 3.378 MB / 454.7 MB, free: 15.95 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.004269, allocations: 0 / 454.7 MB, free: 15.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.135e-06/0.004278, allocations: 4 kB / 454.7 MB, free: 15.94 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.004301, allocations: 10 kB / 454.7 MB, free: 15.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.004619, allocations: 111.9 kB / 454.8 MB, free: 15.83 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.004692, allocations: 39.84 kB / 454.8 MB, free: 15.79 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.004728, allocations: 8.609 kB / 454.8 MB, free: 15.78 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.004789, allocations: 19.98 kB / 454.9 MB, free: 15.76 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.004852, allocations: 17.41 kB / 454.9 MB, free: 15.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.004864, allocations: 4 kB / 454.9 MB, free: 15.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.005037, allocations: 63.83 kB / 454.9 MB, free: 15.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.005054, allocations: 10.03 kB / 454.9 MB, free: 15.67 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.005077, allocations: 8 kB / 455 MB, free: 15.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.005225, allocations: 71.69 kB / 455 MB, free: 15.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.005236, allocations: 0 / 455 MB, free: 15.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005237, allocations: 0 / 455 MB, free: 15.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.005246, allocations: 0 / 455 MB, free: 15.59 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.0003469/0.005593, allocations: 255.6 kB / 455.3 MB, free: 15.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.005625, allocations: 8.031 kB / 455.3 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.005764, allocations: 95 kB / 455.4 MB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.801e-05/0.005842, allocations: 101.8 kB / 455.5 MB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.005853, allocations: 9.219 kB / 455.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.005871, allocations: 4.375 kB / 455.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/0.005969, allocations: 128.2 kB / 455.6 MB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005976, allocations: 4.125 kB / 455.6 MB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.005984, allocations: 8.125 kB / 455.6 MB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.005989, allocations: 1 kB / 455.6 MB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.006018, allocations: 15.97 kB / 455.6 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.863e-05/0.006106, allocations: 73.56 kB / 455.7 MB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.006161, allocations: 38.56 kB / 455.8 MB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.006176, allocations: 18.16 kB / 455.8 MB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/0.00651, allocations: 212.4 kB / 456 MB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.006532, allocations: 42.98 kB / 456 MB, free: 14.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.006532, allocations: 0 / 456 MB, free: 14.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004029/0.006935, allocations: 239.6 kB / 456.3 MB, free: 14.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.00696, allocations: 55.41 kB / 456.3 MB, free: 14.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.00702, allocations: 105.4 kB / 456.4 MB, free: 14.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.007032, allocations: 29.64 kB / 456.4 MB, free: 13.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.007382, allocations: 88.95 kB / 456.5 MB, free: 13.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.007398, allocations: 27.75 kB / 456.6 MB, free: 13.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.007428, allocations: 30.28 kB / 456.6 MB, free: 13.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.0075, allocations: 314.8 kB / 456.9 MB, free: 13.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.00751, allocations: 9.422 kB / 456.9 MB, free: 13.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.007541, allocations: 53.08 kB / 457 MB, free: 13.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.007593, allocations: 67.27 kB / 457 MB, free: 13.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007594, allocations: 0 / 457 MB, free: 13.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.113e-05/0.007665, allocations: 78.33 kB / 457.1 MB, free: 13.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007676, allocations: 8 kB / 457.1 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.00768, allocations: 1.094 kB / 457.1 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.007693, allocations: 4.562 kB / 457.1 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.007744, allocations: 28.86 kB / 457.1 MB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.007747, allocations: 0 / 457.1 MB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.007769, allocations: 9.156 kB / 457.1 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.007772, allocations: 0 / 457.1 MB, free: 13.23 MB / 442.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.683e-05/0.007819, allocations: 113.8 kB / 457.3 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.007836, allocations: 12.55 kB / 457.3 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.00786, allocations: 8.75 kB / 457.3 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.007862, allocations: 5.875 kB / 457.3 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.007864, allocations: 4.562 kB / 457.3 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.007866, allocations: 0 / 457.3 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.007996, allocations: 82.45 kB / 457.4 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.007996, allocations: 0.5625 kB / 457.4 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.008041, allocations: 15.98 kB / 457.4 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.00806, allocations: 12.48 kB / 457.4 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008062, allocations: 0.8438 kB / 457.4 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.008068, allocations: 4 kB / 457.4 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.008069, allocations: 3.938 kB / 457.4 MB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008069, allocations: 1.25 kB / 457.4 MB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.008172, allocations: 159.5 kB / 457.6 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.008181, allocations: 7.875 kB / 457.6 MB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.008223, allocations: 4.688 kB / 457.6 MB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.008234, allocations: 8.797 kB / 457.6 MB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.00824, allocations: 4 kB / 457.6 MB, free: 12.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.025e-06/0.008248, allocations: 4.859 kB / 457.6 MB, free: 12.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008248, allocations: 0.5938 kB / 457.6 MB, free: 12.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001277/0.008376, allocations: 17 kB / 457.6 MB, free: 12.72 MB / 442.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 8.254e-05/0.008459, allocations: 82.47 kB / 457.7 MB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.932e-05/0.008528, allocations: 44.92 kB / 457.7 MB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.008532, allocations: 2 kB / 457.7 MB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.878e-05/0.008551, allocations: 24.84 kB / 457.8 MB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.008679, allocations: 16 kB / 457.8 MB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.009534, allocations: 186.6 kB / 458 MB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.06e-05/0.009565, allocations: 61 kB / 458 MB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.009599, allocations: 13.75 kB / 458 MB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.009652, allocations: 64.12 kB / 458.1 MB, free: 12.2 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.009653, allocations: 0 / 458.1 MB, free: 12.2 MB / 442.7 MB Notification: Performance of Templates: time 0.001946/0.0116, allocations: 0.7301 MB / 458.8 MB, free: 11.52 MB / 442.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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.331960433162749]