Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0547/0.0547, allocations: 9.131 MB / 28.99 MB, free: 0.8242 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.00131/0.00131, allocations: 99.08 kB / 35.33 MB, free: 1.078 MB / 24.77 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.001761/0.001761, allocations: 166.1 kB / 38.73 MB, free: 2.52 MB / 24.77 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.9481/0.9481, allocations: 177.2 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004244/0.004244, allocations: 0.8265 MB / 276.5 MB, free: 0.7227 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.699/1.699, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.696e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001679/0.001696, allocations: 1.313 MB / 0.6391 GB, free: 12.87 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.003001/0.004697, allocations: 3.02 MB / 0.642 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.004726, allocations: 0 / 0.642 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.004748, allocations: 3.938 kB / 0.642 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.691e-05/0.004795, allocations: 3.984 kB / 0.642 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.00525, allocations: 103.5 kB / 0.6421 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.464e-05/0.005325, allocations: 43.84 kB / 0.6422 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.005362, allocations: 3.984 kB / 0.6422 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004702/0.005832, allocations: 191.3 kB / 0.6424 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.005876, allocations: 19.91 kB / 0.6424 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.00589, allocations: 4 kB / 0.6424 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.006009, allocations: 47.89 kB / 0.6424 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.006026, allocations: 7.984 kB / 0.6424 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.00605, allocations: 19.92 kB / 0.6425 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.006206, allocations: 63.8 kB / 0.6425 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006208, allocations: 0 / 0.6425 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.91e-07/0.006208, allocations: 0 / 0.6425 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.006213, allocations: 0 / 0.6425 GB, free: 9.332 MB / 0.6043 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.0003387/0.006552, allocations: 248.6 kB / 0.6428 GB, free: 9.066 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.006594, allocations: 11.98 kB / 0.6428 GB, free: 9.055 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.006627, allocations: 4.938 kB / 0.6428 GB, free: 9.051 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/0.00671, allocations: 109.8 kB / 0.6429 GB, free: 8.918 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.006722, allocations: 4.375 kB / 0.6429 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.006752, allocations: 12.38 kB / 0.6429 GB, free: 8.902 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.006875, allocations: 127.3 kB / 0.643 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.006882, allocations: 192 / 0.643 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.006894, allocations: 8.125 kB / 0.643 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.0069, allocations: 0 / 0.643 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.006927, allocations: 15.92 kB / 0.643 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.723e-05/0.007024, allocations: 72.94 kB / 0.6431 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.007086, allocations: 46.61 kB / 0.6432 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.007101, allocations: 8.859 kB / 0.6432 GB, free: 8.578 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003814/0.007483, allocations: 216.3 kB / 0.6434 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.007505, allocations: 38.5 kB / 0.6434 GB, free: 8.305 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.007506, allocations: 0 / 0.6434 GB, free: 8.305 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0004488/0.007955, allocations: 233.2 kB / 0.6436 GB, free: 8.043 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.007984, allocations: 51.41 kB / 0.6437 GB, free: 7.98 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.008044, allocations: 106.7 kB / 0.6438 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.008057, allocations: 33.7 kB / 0.6438 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.008096, allocations: 88.09 kB / 0.6439 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.008113, allocations: 35.72 kB / 0.6439 GB, free: 7.699 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.008143, allocations: 25.66 kB / 0.644 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.008225, allocations: 318.8 kB / 0.6443 GB, free: 7.348 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.008238, allocations: 8 kB / 0.6443 GB, free: 7.34 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.008276, allocations: 41.14 kB / 0.6443 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.008332, allocations: 65.23 kB / 0.6444 GB, free: 7.199 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.008333, allocations: 4 kB / 0.6444 GB, free: 7.195 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.077e-05/0.008414, allocations: 81.92 kB / 0.6444 GB, free: 7.109 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.008429, allocations: 7.984 kB / 0.6445 GB, free: 7.102 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.008434, allocations: 4 kB / 0.6445 GB, free: 7.098 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.008449, allocations: 0 / 0.6445 GB, free: 7.098 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.008505, allocations: 23.88 kB / 0.6445 GB, free: 7.074 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.008512, allocations: 8 kB / 0.6445 GB, free: 7.066 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.008533, allocations: 4 kB / 0.6445 GB, free: 7.062 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.00854, allocations: 4 kB / 0.6445 GB, free: 7.059 MB / 0.6043 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.842e-05/0.008608, allocations: 125.9 kB / 0.6446 GB, free: 6.926 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.008628, allocations: 7.938 kB / 0.6446 GB, free: 6.918 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.008658, allocations: 8.125 kB / 0.6446 GB, free: 6.898 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.00866, allocations: 0 / 0.6446 GB, free: 6.898 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.008666, allocations: 4 kB / 0.6446 GB, free: 6.895 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.008669, allocations: 0 / 0.6446 GB, free: 6.895 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.008803, allocations: 77.88 kB / 0.6447 GB, free: 6.801 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008805, allocations: 4 kB / 0.6447 GB, free: 6.797 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.008851, allocations: 19.98 kB / 0.6447 GB, free: 6.777 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.008852, allocations: 0 / 0.6447 GB, free: 6.777 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.00886, allocations: 7.938 kB / 0.6447 GB, free: 6.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.008861, allocations: 0 / 0.6447 GB, free: 6.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008862, allocations: 0 / 0.6447 GB, free: 6.77 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.00899, allocations: 159.5 kB / 0.6449 GB, free: 6.598 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.009014, allocations: 7.938 kB / 0.6449 GB, free: 6.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.009027, allocations: 11.94 kB / 0.6449 GB, free: 6.578 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.009068, allocations: 0 / 0.6449 GB, free: 6.578 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.009084, allocations: 7.984 kB / 0.6449 GB, free: 6.57 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.009088, allocations: 0 / 0.6449 GB, free: 6.57 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.183e-05/0.0091, allocations: 8.859 kB / 0.6449 GB, free: 6.559 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.0091, allocations: 0 / 0.6449 GB, free: 6.559 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001326/0.009232, allocations: 16 kB / 0.6449 GB, free: 6.543 MB / 0.6043 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 9.791e-05/0.00933, allocations: 76.42 kB / 0.645 GB, free: 6.461 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.897e-05/0.009409, allocations: 41.38 kB / 0.6451 GB, free: 6.418 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.009412, allocations: 0 / 0.6451 GB, free: 6.418 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.00943, allocations: 28.77 kB / 0.6451 GB, free: 6.387 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.009547, allocations: 11.94 kB / 0.6451 GB, free: 6.375 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.009989, allocations: 232.3 kB / 0.6453 GB, free: 6.121 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.01003, allocations: 63.36 kB / 0.6454 GB, free: 6.039 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.01006, allocations: 11.98 kB / 0.6454 GB, free: 6.027 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.01012, allocations: 71.36 kB / 0.6455 GB, free: 5.957 MB / 0.6043 GB Notification: Performance of SimCode: time 6.11e-07/0.01012, allocations: 0 / 0.6455 GB, free: 5.957 MB / 0.6043 GB Notification: Performance of Templates: time 0.002181/0.0123, allocations: 0.7243 MB / 0.6462 GB, free: 5.234 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.551264780107886]