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.001732/0.001732, allocations: 92.7 kB / 19.44 MB, free: 324 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.001781/0.001781, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.202/1.202, allocations: 154.8 MB / 414.3 MB, free: 456 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.923e-06/1.923e-06, allocations: 0 / 0.5198 GB, free: 1.254 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.542e-05, allocations: 2.312 kB / 0.5198 GB, free: 1.25 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002667/0.002703, allocations: 1.268 MB / 0.521 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.007279, allocations: 3.078 MB / 0.524 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.007322, allocations: 4 kB / 0.5241 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.007356, allocations: 4.734 kB / 0.5241 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.007427, allocations: 9.281 kB / 0.5241 GB, free: 12.9 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.008026, allocations: 108.8 kB / 0.5242 GB, free: 12.79 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.008114, allocations: 31.86 kB / 0.5242 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.008154, allocations: 4 kB / 0.5242 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.312e-05/0.008228, allocations: 31.89 kB / 0.5242 GB, free: 12.73 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.00829, allocations: 9.078 kB / 0.5242 GB, free: 12.72 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.008311, allocations: 4 kB / 0.5242 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.008551, allocations: 74.5 kB / 0.5243 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.008567, allocations: 4 kB / 0.5243 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.008605, allocations: 15.97 kB / 0.5243 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.008815, allocations: 75.73 kB / 0.5244 GB, free: 12.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.008818, allocations: 0 / 0.5244 GB, free: 12.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.00882, allocations: 0 / 0.5244 GB, free: 12.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.008825, allocations: 0 / 0.5244 GB, free: 12.55 MB / 458.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.0005117/0.009336, allocations: 274.8 kB / 0.5247 GB, free: 12.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.009381, allocations: 8.031 kB / 0.5247 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.009552, allocations: 17.39 kB / 0.5247 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.009674, allocations: 106.7 kB / 0.5248 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.009692, allocations: 4.375 kB / 0.5248 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.009733, allocations: 13.95 kB / 0.5248 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.01006, allocations: 127.3 kB / 0.5249 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01007, allocations: 192 / 0.5249 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.01009, allocations: 8.125 kB / 0.5249 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.0101, allocations: 4 kB / 0.5249 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.842e-05/0.01016, allocations: 16.86 kB / 0.525 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.01035, allocations: 117.3 kB / 0.5251 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.01047, allocations: 45.66 kB / 0.5251 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.01051, allocations: 16.86 kB / 0.5251 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/0.01115, allocations: 257.9 kB / 0.5254 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.01118, allocations: 34.56 kB / 0.5254 GB, free: 11.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.01118, allocations: 0 / 0.5254 GB, free: 11.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.000648/0.01183, allocations: 217.6 kB / 0.5256 GB, free: 11.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.01188, allocations: 54.16 kB / 0.5257 GB, free: 11.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.01198, allocations: 101.8 kB / 0.5258 GB, free: 10.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.01201, allocations: 29.7 kB / 0.5258 GB, free: 10.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.01208, allocations: 88.09 kB / 0.5259 GB, free: 10.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.01211, allocations: 27.75 kB / 0.5259 GB, free: 10.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.01216, allocations: 29.7 kB / 0.5259 GB, free: 10.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.01235, allocations: 310.8 kB / 0.5262 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.01239, allocations: 21.36 kB / 0.5263 GB, free: 10.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.01246, allocations: 53.08 kB / 0.5263 GB, free: 10.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.01258, allocations: 79.44 kB / 0.5264 GB, free: 10.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01258, allocations: 0 / 0.5264 GB, free: 10.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000162/0.01274, allocations: 97.5 kB / 0.5265 GB, free: 10.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01276, allocations: 6.438 kB / 0.5265 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01277, allocations: 4.078 kB / 0.5265 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.01278, allocations: 0 / 0.5265 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.01287, allocations: 28.2 kB / 0.5265 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.01289, allocations: 7.984 kB / 0.5265 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.01292, allocations: 0 / 0.5265 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.01293, allocations: 4 kB / 0.5265 GB, free: 10.13 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 0.0001152/0.01305, allocations: 120.1 kB / 0.5266 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.01307, allocations: 4 kB / 0.5266 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.01313, allocations: 16.11 kB / 0.5267 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01313, allocations: 3.984 kB / 0.5267 GB, free: 9.977 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01314, allocations: 0 / 0.5267 GB, free: 9.977 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01314, allocations: 1.031 kB / 0.5267 GB, free: 9.977 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.01338, allocations: 129.2 kB / 0.5268 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01338, allocations: 0 / 0.5268 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.01347, allocations: 20.88 kB / 0.5268 GB, free: 9.801 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01348, allocations: 0 / 0.5268 GB, free: 9.801 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.01349, allocations: 8.516 kB / 0.5268 GB, free: 9.793 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.0135, allocations: 0 / 0.5268 GB, free: 9.793 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0135, allocations: 2.469 kB / 0.5268 GB, free: 9.793 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.01374, allocations: 171.4 kB / 0.527 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.01377, allocations: 8.031 kB / 0.527 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.01379, allocations: 0 / 0.527 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.01389, allocations: 4 kB / 0.527 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.01392, allocations: 11.92 kB / 0.527 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.01392, allocations: 3.969 kB / 0.527 GB, free: 9.586 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.971e-05/0.01397, allocations: 79.28 kB / 0.5271 GB, free: 9.508 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01397, allocations: 0 / 0.5271 GB, free: 9.508 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.01422, allocations: 16 kB / 0.5271 GB, free: 9.492 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 0.0001562/0.01438, allocations: 95.25 kB / 0.5272 GB, free: 9.391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.01451, allocations: 47.89 kB / 0.5272 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01451, allocations: 0 / 0.5272 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/0.01454, allocations: 19 kB / 0.5272 GB, free: 9.328 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.01486, allocations: 11.88 kB / 0.5273 GB, free: 9.316 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.01545, allocations: 260.8 kB / 0.5275 GB, free: 9.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.644e-05/0.01554, allocations: 76.14 kB / 0.5276 GB, free: 8.996 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.01558, allocations: 3.344 kB / 0.5276 GB, free: 8.996 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.01562, allocations: 12.5 kB / 0.5276 GB, free: 8.984 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01562, allocations: 0 / 0.5276 GB, free: 8.984 MB / 458.7 MB Notification: Performance of Templates: time 0.003745/0.01936, allocations: 0.6418 MB / 0.5282 GB, free: 8.379 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.976965536014177]