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.001445/0.001445, allocations: 81.23 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001666/0.001666, allocations: 168.9 kB / 22.46 MB, free: 5.371 MB / 14.72 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.539/1.539, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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-531:190: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-531:198: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.284/1.284, allocations: 154.6 MB / 413.8 MB, free: 5.289 MB / 382.1 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.783e-06/1.783e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.397e-05, allocations: 4.672 kB / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002375/0.002409, allocations: 1.256 MB / 0.6197 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00401/0.006419, allocations: 3.082 MB / 0.6227 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.006452, allocations: 4 kB / 0.6227 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.006472, allocations: 3.938 kB / 0.6227 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.006529, allocations: 3.938 kB / 0.6227 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.007103, allocations: 103.5 kB / 0.6228 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.363e-05/0.007197, allocations: 35.84 kB / 0.6229 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.00724, allocations: 4 kB / 0.6229 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.007309, allocations: 27.91 kB / 0.6229 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.007376, allocations: 19.91 kB / 0.6229 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.007392, allocations: 8 kB / 0.6229 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.007623, allocations: 59.86 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.007648, allocations: 15.92 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.007677, allocations: 8 kB / 0.623 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.007875, allocations: 67.8 kB / 0.6231 GB, free: 15.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.00788, allocations: 0 / 0.6231 GB, free: 15.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.007882, allocations: 3.938 kB / 0.6231 GB, free: 15.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.007887, allocations: 3.938 kB / 0.6231 GB, free: 15.9 MB / 0.545 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.0004471/0.008334, allocations: 270.3 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.008375, allocations: 21.41 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.008483, allocations: 8.938 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.00859, allocations: 105.8 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.008607, allocations: 4.375 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.008641, allocations: 12.33 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.008837, allocations: 135.3 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.008847, allocations: 192 / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.008866, allocations: 8.125 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.008872, allocations: 0 / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.995e-05/0.008932, allocations: 23.91 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.009098, allocations: 109.3 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.009215, allocations: 46.56 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.009251, allocations: 16.84 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/0.009855, allocations: 246 kB / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.00988, allocations: 30.56 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.009881, allocations: 0 / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006222/0.0105, allocations: 233.2 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.01055, allocations: 55.39 kB / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.01064, allocations: 97.86 kB / 0.6244 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.01067, allocations: 37.7 kB / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.01071, allocations: 84.09 kB / 0.6246 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.01074, allocations: 31.73 kB / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.01078, allocations: 25.66 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.01092, allocations: 318.8 kB / 0.6249 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.01095, allocations: 12 kB / 0.6249 GB, free: 13.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.01101, allocations: 49.14 kB / 0.625 GB, free: 13.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.01112, allocations: 81.02 kB / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01112, allocations: 3.938 kB / 0.6251 GB, free: 13.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001494/0.01127, allocations: 97.5 kB / 0.6251 GB, free: 13.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.01129, allocations: 10.34 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01129, allocations: 0 / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01131, allocations: 4 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.01139, allocations: 16 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01139, allocations: 3.984 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.01143, allocations: 4 kB / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01144, allocations: 12.56 kB / 0.6252 GB, free: 13.46 MB / 0.545 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 9.372e-05/0.01154, allocations: 122.7 kB / 0.6253 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.01156, allocations: 0 / 0.6253 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.01161, allocations: 12.12 kB / 0.6253 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01161, allocations: 0 / 0.6253 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01161, allocations: 0 / 0.6253 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.01162, allocations: 7.938 kB / 0.6253 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.01184, allocations: 125.2 kB / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01184, allocations: 0 / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.01193, allocations: 15.98 kB / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01193, allocations: 4 kB / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01194, allocations: 4 kB / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.01194, allocations: 0 / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01194, allocations: 0 / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.01215, allocations: 179.4 kB / 0.6256 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.01217, allocations: 0 / 0.6256 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.01219, allocations: 4.047 kB / 0.6256 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.0123, allocations: 11.92 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.855e-05/0.01232, allocations: 4 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.01232, allocations: 384 / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.01237, allocations: 87.25 kB / 0.6257 GB, free: 12.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01237, allocations: 4 kB / 0.6257 GB, free: 12.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002414/0.01261, allocations: 12 kB / 0.6258 GB, free: 12.82 MB / 0.545 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.0001497/0.01276, allocations: 103 kB / 0.6259 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01288, allocations: 39.92 kB / 0.6259 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01288, allocations: 0 / 0.6259 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.01291, allocations: 19.92 kB / 0.6259 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.01322, allocations: 8.188 kB / 0.6259 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.01377, allocations: 256.9 kB / 0.6262 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.209e-05/0.01383, allocations: 63.34 kB / 0.6262 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.01387, allocations: 11.98 kB / 0.6262 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.01391, allocations: 12.5 kB / 0.6263 GB, free: 12.27 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01391, allocations: 0 / 0.6263 GB, free: 12.27 MB / 0.545 GB Notification: Performance of Templates: time 0.003573/0.01748, allocations: 0.6208 MB / 0.6269 GB, free: 11.66 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.06241462752223] Failed to read output from testmodel.py, exit status != 0: 0.026494357734918594 0.043699635 0.0325809 Calling exit ...