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.001085/0.001085, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001824/0.002909, allocations: 435.8 kB / 10.33 MB, free: 368 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.001126/0.001126, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002605, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9756/0.9756, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08444/1.06, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7493/0.7493, allocations: 155.3 MB / 399.3 MB, free: 15.92 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.2801/1.029, allocations: 49.13 MB / 448.4 MB, free: 6.008 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.333e-06/1.333e-06, allocations: 0 / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.324e-05, allocations: 4.047 kB / 449.7 MB, free: 4.758 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001525/0.001539, allocations: 1.35 MB / 451 MB, free: 3.43 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.004275, allocations: 3.388 MB / 454.4 MB, free: 76 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.004295, allocations: 4 kB / 454.4 MB, free: 72 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.814e-06/0.004303, allocations: 7.156 kB / 454.4 MB, free: 68 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.683e-05/0.00432, allocations: 3.984 kB / 454.4 MB, free: 64 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.004589, allocations: 107.4 kB / 454.5 MB, free: 15.96 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.00465, allocations: 35.84 kB / 454.6 MB, free: 15.92 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.049e-05/0.00468, allocations: 4 kB / 454.6 MB, free: 15.92 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.004732, allocations: 28.86 kB / 454.6 MB, free: 15.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.004784, allocations: 11.92 kB / 454.6 MB, free: 15.88 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.004793, allocations: 7.938 kB / 454.6 MB, free: 15.87 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.004951, allocations: 69.69 kB / 454.7 MB, free: 15.8 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.004962, allocations: 4 kB / 454.7 MB, free: 15.8 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.004978, allocations: 8 kB / 454.7 MB, free: 15.79 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.0051, allocations: 71.69 kB / 454.8 MB, free: 15.72 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.005111, allocations: 0.875 kB / 454.8 MB, free: 15.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005112, allocations: 0 / 454.8 MB, free: 15.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.005124, allocations: 0 / 454.8 MB, free: 15.72 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.000255/0.005379, allocations: 255.6 kB / 455 MB, free: 15.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.005405, allocations: 8.781 kB / 455 MB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.005502, allocations: 93.97 kB / 455.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.489e-05/0.005556, allocations: 102.4 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.005567, allocations: 5.344 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.005584, allocations: 12.36 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.005688, allocations: 124.1 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.005694, allocations: 1.406 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.005703, allocations: 12.12 kB / 455.4 MB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.005706, allocations: 0 / 455.4 MB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.005733, allocations: 13.17 kB / 455.4 MB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.231e-05/0.005815, allocations: 76.92 kB / 455.4 MB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.141e-05/0.005877, allocations: 44.36 kB / 455.5 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.00589, allocations: 9.922 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.006202, allocations: 220.3 kB / 455.7 MB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.006222, allocations: 35.34 kB / 455.7 MB, free: 14.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.006223, allocations: 0 / 455.7 MB, free: 14.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003445/0.006567, allocations: 244.4 kB / 456 MB, free: 14.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.006589, allocations: 55.34 kB / 456 MB, free: 14.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/0.00664, allocations: 102.7 kB / 456.1 MB, free: 14.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.00665, allocations: 29.7 kB / 456.2 MB, free: 14.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.006684, allocations: 88.94 kB / 456.3 MB, free: 14.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.006699, allocations: 31.67 kB / 456.3 MB, free: 14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.006724, allocations: 26.48 kB / 456.3 MB, free: 13.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.006794, allocations: 322.8 kB / 456.6 MB, free: 13.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.006804, allocations: 8.875 kB / 456.6 MB, free: 13.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.006841, allocations: 48.42 kB / 456.7 MB, free: 13.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.885e-05/0.00689, allocations: 63.39 kB / 456.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006891, allocations: 0.625 kB / 456.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.635e-05/0.006957, allocations: 83.94 kB / 456.8 MB, free: 13.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.006967, allocations: 4 kB / 456.8 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006972, allocations: 4.625 kB / 456.8 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.006979, allocations: 0.625 kB / 456.8 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.007025, allocations: 23.94 kB / 456.9 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.00703, allocations: 8.734 kB / 456.9 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.007048, allocations: 4 kB / 456.9 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.007052, allocations: 4.656 kB / 456.9 MB, free: 13.36 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.983e-05/0.007102, allocations: 119.5 kB / 457 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.007116, allocations: 7.938 kB / 457 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.007136, allocations: 8.125 kB / 457 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.007137, allocations: 0 / 457 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007139, allocations: 0 / 457 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.007143, allocations: 5.609 kB / 457 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.007265, allocations: 82.58 kB / 457.1 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007266, allocations: 0 / 457.1 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.007311, allocations: 16 kB / 457.1 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.00733, allocations: 16.5 kB / 457.1 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.007332, allocations: 3.938 kB / 457.1 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.007338, allocations: 6.344 kB / 457.1 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.007339, allocations: 0 / 457.1 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.00734, allocations: 0 / 457.1 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.007441, allocations: 155.5 kB / 457.3 MB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.00745, allocations: 7.938 kB / 457.3 MB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-05/0.007491, allocations: 4.516 kB / 457.3 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.007505, allocations: 9.547 kB / 457.3 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.007508, allocations: 0 / 457.3 MB, free: 12.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.167e-06/0.007517, allocations: 11.72 kB / 457.3 MB, free: 12.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007517, allocations: 0 / 457.3 MB, free: 12.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001219/0.007639, allocations: 13.91 kB / 457.3 MB, free: 12.86 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 7.316e-05/0.007712, allocations: 80.41 kB / 457.4 MB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.007825, allocations: 41.53 kB / 457.5 MB, free: 12.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.007829, allocations: 0.9688 kB / 457.5 MB, free: 12.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.817e-05/0.007847, allocations: 24.78 kB / 457.5 MB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.007963, allocations: 24.95 kB / 457.5 MB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.008796, allocations: 187.2 kB / 457.7 MB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.819e-05/0.008824, allocations: 59.34 kB / 457.7 MB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.107e-05/0.008855, allocations: 9.656 kB / 457.8 MB, free: 12.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.008902, allocations: 63.36 kB / 457.8 MB, free: 12.33 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008903, allocations: 1.219 kB / 457.8 MB, free: 12.33 MB / 442.7 MB Notification: Performance of Templates: time 0.001994/0.0109, allocations: 0.7464 MB / 458.6 MB, free: 11.64 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.411958017386496]