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.0009057/0.0009057, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001016/0.001016, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9664/0.9664, allocations: 177.1 MB / 204.5 MB, free: 5.5 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-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 0.807/0.807, allocations: 154.9 MB / 415.9 MB, free: 228 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 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.613e-06/1.613e-06, allocations: 0 / 0.5218 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.736e-05, allocations: 4 kB / 0.5218 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001829/0.001856, allocations: 1.297 MB / 0.5231 GB, free: 292 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.004697, allocations: 3.351 MB / 0.5264 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.004729, allocations: 3.938 kB / 0.5264 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.004747, allocations: 0.5625 kB / 0.5264 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.004792, allocations: 0.75 kB / 0.5264 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.005262, allocations: 117.2 kB / 0.5265 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.005331, allocations: 39.84 kB / 0.5265 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.005364, allocations: 3.984 kB / 0.5265 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.005417, allocations: 24.77 kB / 0.5266 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.005478, allocations: 15.97 kB / 0.5266 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.005488, allocations: 1 kB / 0.5266 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.005646, allocations: 63.77 kB / 0.5266 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.005661, allocations: 11.97 kB / 0.5267 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.00568, allocations: 14.84 kB / 0.5267 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.00582, allocations: 75.72 kB / 0.5267 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.005828, allocations: 0 / 0.5267 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005829, allocations: 0 / 0.5267 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.005833, allocations: 0 / 0.5267 GB, free: 12.57 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.0003058/0.006139, allocations: 372.3 kB / 0.5271 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.00617, allocations: 8.031 kB / 0.5271 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.006263, allocations: 21.78 kB / 0.5271 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.087e-05/0.006324, allocations: 105.6 kB / 0.5272 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.006336, allocations: 4.375 kB / 0.5272 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.006355, allocations: 8.375 kB / 0.5272 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.006463, allocations: 124.2 kB / 0.5274 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.00647, allocations: 192 / 0.5274 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.006479, allocations: 5.062 kB / 0.5274 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.006483, allocations: 4 kB / 0.5274 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.00651, allocations: 21.08 kB / 0.5274 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.006612, allocations: 105.2 kB / 0.5275 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.00668, allocations: 55.11 kB / 0.5275 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.006696, allocations: 15.67 kB / 0.5276 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.007078, allocations: 298 kB / 0.5278 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.007101, allocations: 37.39 kB / 0.5279 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.007102, allocations: 0.625 kB / 0.5279 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003721/0.007475, allocations: 229.1 kB / 0.5281 GB, free: 11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.0075, allocations: 55.41 kB / 0.5281 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.007567, allocations: 161.9 kB / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.007578, allocations: 25.7 kB / 0.5283 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.007621, allocations: 130.8 kB / 0.5284 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.007637, allocations: 35.72 kB / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.007666, allocations: 27.38 kB / 0.5285 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.007781, allocations: 0.4914 MB / 0.529 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.007793, allocations: 7.984 kB / 0.529 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.007831, allocations: 66.05 kB / 0.5291 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.061e-05/0.007891, allocations: 86.22 kB / 0.5291 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007892, allocations: 0 / 0.5291 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.017e-05/0.007983, allocations: 95.25 kB / 0.5292 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007994, allocations: 4 kB / 0.5292 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007999, allocations: 4 kB / 0.5292 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.008008, allocations: 1.938 kB / 0.5292 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.976e-05/0.008058, allocations: 27.86 kB / 0.5293 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.008061, allocations: 8.062 kB / 0.5293 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.008084, allocations: 4 kB / 0.5293 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.008088, allocations: 4 kB / 0.5293 GB, free: 9.664 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 6.012e-05/0.008148, allocations: 163.3 kB / 0.5294 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.008167, allocations: 7.938 kB / 0.5294 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.00819, allocations: 12.11 kB / 0.5295 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008192, allocations: 4 kB / 0.5295 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008194, allocations: 0 / 0.5295 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.008197, allocations: 0 / 0.5295 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.008333, allocations: 113.2 kB / 0.5296 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.008333, allocations: 1.719 kB / 0.5296 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.008382, allocations: 19.94 kB / 0.5296 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.008384, allocations: 3.938 kB / 0.5296 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.00839, allocations: 3.984 kB / 0.5296 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008391, allocations: 0.5 kB / 0.5296 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008392, allocations: 0 / 0.5296 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.008524, allocations: 214.2 kB / 0.5298 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.008547, allocations: 11.98 kB / 0.5298 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.008557, allocations: 3.938 kB / 0.5298 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.491e-05/0.008602, allocations: 4 kB / 0.5298 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.008616, allocations: 3.984 kB / 0.5298 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.008624, allocations: 8 kB / 0.5298 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.008664, allocations: 124 kB / 0.5299 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008664, allocations: 0 / 0.5299 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001466/0.00881, allocations: 13.5 kB / 0.53 GB, free: 8.918 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.0001043/0.008915, allocations: 100.4 kB / 0.5301 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.535e-05/0.00899, allocations: 39.59 kB / 0.5301 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008992, allocations: 1.062 kB / 0.5301 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.681e-05/0.009009, allocations: 23.67 kB / 0.5301 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.009175, allocations: 13.02 kB / 0.5301 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.009707, allocations: 273.8 kB / 0.5304 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.009742, allocations: 64.11 kB / 0.5305 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.009775, allocations: 8.688 kB / 0.5305 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.009832, allocations: 86.19 kB / 0.5305 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.009833, allocations: 0 / 0.5305 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of Templates: time 0.002248/0.01208, allocations: 0.7107 MB / 0.5312 GB, free: 7.645 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.756107501219958]