Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009002/0.0009002, allocations: 89.06 kB / 19.64 MB, free: 276 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.000989/0.000989, allocations: 173 kB / 23.02 MB, free: 1.539 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.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7928/0.7928, allocations: 154.6 MB / 414.5 MB, free: 0.6484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5203 GB, free: 2.258 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.216e-05, allocations: 3.469 kB / 0.5203 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002166/0.002198, allocations: 1.293 MB / 0.5215 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003874/0.006072, allocations: 3.377 MB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.006121, allocations: 1.344 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.006151, allocations: 0 / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.569e-05/0.006216, allocations: 7.875 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.006885, allocations: 116.7 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.006974, allocations: 35.86 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.007021, allocations: 2.688 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/0.007094, allocations: 31.95 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.007169, allocations: 11.94 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.007184, allocations: 0 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.007425, allocations: 67.8 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.007443, allocations: 11.92 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.007469, allocations: 12.52 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.007652, allocations: 71.73 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.007656, allocations: 0.5 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.007658, allocations: 0.9688 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.007664, allocations: 0 / 0.5252 GB, free: 13.23 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.0004281/0.008092, allocations: 377.8 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.008141, allocations: 8.031 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.008297, allocations: 13.17 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.008378, allocations: 116.6 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.008393, allocations: 1.312 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.008423, allocations: 8.375 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.008582, allocations: 126.6 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.00859, allocations: 192 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.008605, allocations: 12.12 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.008613, allocations: 0 / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.008658, allocations: 23.89 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.008805, allocations: 120.6 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.873e-05/0.008894, allocations: 59.03 kB / 0.526 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.008921, allocations: 11.92 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/0.009502, allocations: 303.3 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.009529, allocations: 45.38 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.00953, allocations: 0 / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000475/0.01001, allocations: 225.7 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.01004, allocations: 51.41 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/0.01011, allocations: 161.9 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.01012, allocations: 27.14 kB / 0.5268 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.01017, allocations: 138.8 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.01018, allocations: 23.8 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.01022, allocations: 39.31 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.01034, allocations: 496.6 kB / 0.5275 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.01036, allocations: 11.94 kB / 0.5275 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.097e-05/0.01041, allocations: 72.17 kB / 0.5276 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.01049, allocations: 85.98 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01049, allocations: 2.438 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001075/0.01059, allocations: 89.83 kB / 0.5277 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.01062, allocations: 4.781 kB / 0.5277 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01062, allocations: 4 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01063, allocations: 2.125 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.0107, allocations: 27.92 kB / 0.5278 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.0107, allocations: 0 / 0.5278 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.01073, allocations: 11.98 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.01073, allocations: 4 kB / 0.5278 GB, free: 10.28 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 8.127e-05/0.01081, allocations: 161.5 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.01083, allocations: 7.953 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.01087, allocations: 12.12 kB / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01087, allocations: 0.9375 kB / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01087, allocations: 0 / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.01088, allocations: 4.734 kB / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.01104, allocations: 136.6 kB / 0.5281 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01104, allocations: 6.375 kB / 0.5281 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.01109, allocations: 12 kB / 0.5281 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01109, allocations: 0 / 0.5281 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.0111, allocations: 448 / 0.5281 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01111, allocations: 4 kB / 0.5281 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01111, allocations: 0 / 0.5281 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.01128, allocations: 219.9 kB / 0.5283 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.01131, allocations: 18.78 kB / 0.5283 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.01132, allocations: 0 / 0.5283 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.01137, allocations: 0 / 0.5283 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.0114, allocations: 11.92 kB / 0.5283 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.0114, allocations: 8 kB / 0.5284 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.01145, allocations: 119.2 kB / 0.5285 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01145, allocations: 3.938 kB / 0.5285 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001563/0.01161, allocations: 16 kB / 0.5285 GB, free: 9.492 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.0001103/0.01172, allocations: 96.81 kB / 0.5286 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.01182, allocations: 52.86 kB / 0.5286 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01182, allocations: 0 / 0.5286 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.01184, allocations: 24.28 kB / 0.5287 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.01202, allocations: 12.77 kB / 0.5287 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.01266, allocations: 258.3 kB / 0.5289 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.0127, allocations: 59.36 kB / 0.529 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.01273, allocations: 7.453 kB / 0.529 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.01275, allocations: 14.09 kB / 0.529 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.01275, allocations: 0 / 0.529 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of Templates: time 0.002352/0.01511, allocations: 0.6867 MB / 0.5297 GB, free: 8.332 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.735768707934767]