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.0007613/0.0007613, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007547/0.0007547, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.865/0.865, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6863/0.6863, allocations: 154.6 MB / 414.5 MB, free: 0.7969 MB / 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 179] 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.453e-06/1.453e-06, allocations: 0 / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.281e-05, allocations: 5.672 kB / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001394/0.001417, allocations: 1.263 MB / 0.6205 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.004035, allocations: 3.075 MB / 0.6235 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.00406, allocations: 0 / 0.6235 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.004078, allocations: 3.938 kB / 0.6235 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.004121, allocations: 11.92 kB / 0.6235 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.004554, allocations: 103.5 kB / 0.6236 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.004621, allocations: 39.78 kB / 0.6236 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.004657, allocations: 3.984 kB / 0.6236 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.004707, allocations: 27.91 kB / 0.6237 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.004767, allocations: 15.98 kB / 0.6237 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.004779, allocations: 4 kB / 0.6237 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.004932, allocations: 67.69 kB / 0.6237 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.004946, allocations: 11.98 kB / 0.6238 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.004965, allocations: 11.98 kB / 0.6238 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.005112, allocations: 71.78 kB / 0.6238 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005115, allocations: 4 kB / 0.6238 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005116, allocations: 0 / 0.6238 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.005121, allocations: 0 / 0.6238 GB, free: 8.516 MB / 0.5886 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.0003403/0.005461, allocations: 270.3 kB / 0.6241 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.005497, allocations: 9.469 kB / 0.6241 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.005576, allocations: 12.88 kB / 0.6241 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.785e-05/0.005644, allocations: 105.8 kB / 0.6242 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.005655, allocations: 8.312 kB / 0.6242 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.005678, allocations: 8.375 kB / 0.6242 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.005807, allocations: 131.3 kB / 0.6244 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005814, allocations: 192 / 0.6244 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.005826, allocations: 8.125 kB / 0.6244 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.005831, allocations: 3.938 kB / 0.6244 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.005874, allocations: 11.98 kB / 0.6244 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.005989, allocations: 121.3 kB / 0.6245 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.006061, allocations: 46.56 kB / 0.6245 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.006085, allocations: 16.84 kB / 0.6246 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.00651, allocations: 245.8 kB / 0.6248 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.006528, allocations: 38.5 kB / 0.6248 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.006529, allocations: 0 / 0.6248 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004259/0.006954, allocations: 221.5 kB / 0.625 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.006982, allocations: 55.41 kB / 0.6251 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.23e-05/0.007034, allocations: 105.8 kB / 0.6252 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.007047, allocations: 29.7 kB / 0.6252 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.007079, allocations: 84.09 kB / 0.6253 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.007094, allocations: 31.73 kB / 0.6253 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.007124, allocations: 29.72 kB / 0.6254 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.007195, allocations: 318.8 kB / 0.6257 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.007215, allocations: 12 kB / 0.6257 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.007254, allocations: 49.58 kB / 0.6257 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.361e-05/0.007317, allocations: 80.97 kB / 0.6258 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007318, allocations: 0 / 0.6258 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.16e-05/0.00741, allocations: 105.7 kB / 0.6259 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.007422, allocations: 4 kB / 0.6259 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.007428, allocations: 7.984 kB / 0.6259 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.00744, allocations: 0 / 0.6259 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.007486, allocations: 20 kB / 0.6259 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.007492, allocations: 0 / 0.6259 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.007514, allocations: 8 kB / 0.6259 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.007521, allocations: 7.938 kB / 0.6259 GB, free: 6.082 MB / 0.5886 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 5.543e-05/0.007576, allocations: 118.8 kB / 0.6261 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.007591, allocations: 4 kB / 0.6261 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.007609, allocations: 12.19 kB / 0.6261 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007611, allocations: 4 kB / 0.6261 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.007615, allocations: 0 / 0.6261 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007618, allocations: 0 / 0.6261 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.007752, allocations: 121.2 kB / 0.6262 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007753, allocations: 0 / 0.6262 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.007798, allocations: 19.92 kB / 0.6262 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.007799, allocations: 0 / 0.6262 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.007804, allocations: 0 / 0.6262 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.007805, allocations: 3.938 kB / 0.6262 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007806, allocations: 4.078 kB / 0.6262 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.007932, allocations: 187.3 kB / 0.6264 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.007952, allocations: 4 kB / 0.6264 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.007963, allocations: 4 kB / 0.6264 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.008019, allocations: 8.031 kB / 0.6264 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.008031, allocations: 0 / 0.6264 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.00804, allocations: 4 kB / 0.6264 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.162e-05/0.008062, allocations: 75.28 kB / 0.6265 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008062, allocations: 4 kB / 0.6265 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001497/0.008212, allocations: 12 kB / 0.6265 GB, free: 5.457 MB / 0.5886 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 8.571e-05/0.008298, allocations: 107.2 kB / 0.6266 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.008378, allocations: 39.86 kB / 0.6266 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.00838, allocations: 0 / 0.6266 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.008395, allocations: 16 kB / 0.6267 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.008567, allocations: 11.92 kB / 0.6267 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.008934, allocations: 282.9 kB / 0.6269 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.008977, allocations: 71.34 kB / 0.627 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.009001, allocations: 12.5 kB / 0.627 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.009002, allocations: 0 / 0.627 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of Templates: time 0.001678/0.01068, allocations: 0.8046 MB / 0.6278 GB, free: 4.055 MB / 0.5886 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: 4.9332100339233875] Failed to read output from testmodel.py, exit status != 0: 0.014708435162901878 0.022912465 0.015876538000000003 Calling exit ...