Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.04255/0.04255, allocations: 9.126 MB / 28.99 MB, free: 0.8086 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.0008743/0.0008743, allocations: 87.28 kB / 35.32 MB, free: 1.074 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.001064/0.001064, allocations: 164.1 kB / 38.73 MB, free: 2.508 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 1.038/1.038, allocations: 177.1 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.004168/0.004168, allocations: 0.8224 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.733/1.733, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.574e-06/2.574e-06, allocations: 3.984 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.389e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004372/0.004396, allocations: 4.295 MB / 0.6421 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.006354, allocations: 2.578 MB / 0.6446 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.006421, allocations: 0 / 0.6446 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.006668, allocations: 59.61 kB / 0.6447 GB, free: 7.066 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.006889, allocations: 119.2 kB / 0.6448 GB, free: 6.949 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.007713, allocations: 0.6261 MB / 0.6454 GB, free: 6.32 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.007967, allocations: 287.7 kB / 0.6457 GB, free: 6.039 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.008009, allocations: 6.469 kB / 0.6457 GB, free: 6.027 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.008208, allocations: 171.6 kB / 0.6459 GB, free: 5.859 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.008327, allocations: 71.78 kB / 0.6459 GB, free: 5.789 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.00835, allocations: 12 kB / 0.646 GB, free: 5.777 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004908/0.00884, allocations: 438.9 kB / 0.6464 GB, free: 5.348 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.008906, allocations: 43.88 kB / 0.6464 GB, free: 5.305 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.008972, allocations: 63.83 kB / 0.6465 GB, free: 5.242 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.009414, allocations: 414.8 kB / 0.6469 GB, free: 4.836 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.009416, allocations: 4 kB / 0.6469 GB, free: 4.832 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.21e-07/0.009417, allocations: 4 kB / 0.6469 GB, free: 4.828 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.009421, allocations: 0 / 0.6469 GB, free: 4.828 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005597/0.00998, allocations: 419.6 kB / 0.6473 GB, free: 4.391 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.01002, allocations: 11.98 kB / 0.6473 GB, free: 4.379 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.01113, allocations: 264.2 kB / 0.6475 GB, free: 4.121 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.01132, allocations: 149.5 kB / 0.6477 GB, free: 3.949 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.01134, allocations: 8.703 kB / 0.6477 GB, free: 3.941 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.01136, allocations: 20.38 kB / 0.6477 GB, free: 3.922 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.01174, allocations: 469.9 kB / 0.6482 GB, free: 3.375 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.01175, allocations: 8.109 kB / 0.6482 GB, free: 3.367 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.01177, allocations: 12.12 kB / 0.6482 GB, free: 3.355 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.01179, allocations: 4 kB / 0.6482 GB, free: 3.352 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.01198, allocations: 143.7 kB / 0.6483 GB, free: 3.211 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.01281, allocations: 1.078 MB / 0.6494 GB, free: 2.078 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.01302, allocations: 122.5 kB / 0.6495 GB, free: 1.949 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.01307, allocations: 40.84 kB / 0.6495 GB, free: 1.906 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.01309, allocations: 7.906 kB / 0.6495 GB, free: 1.898 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.01312, allocations: 34.56 kB / 0.6496 GB, free: 1.855 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.01312, allocations: 0 / 0.6496 GB, free: 1.855 MB / 0.6043 GB Notification: Performance of matching and sorting (n=18): time 0.0002146/0.01333, allocations: 137.5 kB / 0.6497 GB, free: 1.715 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.01336, allocations: 51.41 kB / 0.6497 GB, free: 1.652 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.01344, allocations: 150.6 kB / 0.6499 GB, free: 1.492 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01346, allocations: 25.7 kB / 0.6499 GB, free: 1.461 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.01351, allocations: 132.2 kB / 0.65 GB, free: 1.328 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.01355, allocations: 71.36 kB / 0.6501 GB, free: 1.258 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.01361, allocations: 45.91 kB / 0.6502 GB, free: 1.203 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.0137, allocations: 330.8 kB / 0.6505 GB, free: 0.8711 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.01374, allocations: 24.45 kB / 0.6505 GB, free: 0.8477 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.01382, allocations: 110.3 kB / 0.6506 GB, free: 0.707 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.01396, allocations: 161.2 kB / 0.6508 GB, free: 0.5156 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01396, allocations: 0 / 0.6508 GB, free: 0.5156 MB / 0.6043 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000176/0.01414, allocations: 157.3 kB / 0.6509 GB, free: 364 kB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01415, allocations: 4.312 kB / 0.6509 GB, free: 360 kB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01416, allocations: 8 kB / 0.6509 GB, free: 352 kB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.01418, allocations: 7.938 kB / 0.6509 GB, free: 344 kB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.0144, allocations: 75.88 kB / 0.651 GB, free: 268 kB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.0144, allocations: 7.984 kB / 0.651 GB, free: 260 kB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.955e-05/0.01449, allocations: 23.84 kB / 0.651 GB, free: 236 kB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.01451, allocations: 11.98 kB / 0.651 GB, free: 224 kB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.178e-05/0.0146, allocations: 124.6 kB / 0.6512 GB, free: 88 kB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.01463, allocations: 15.98 kB / 0.6512 GB, free: 72 kB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.01483, allocations: 150.7 kB / 0.6513 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01484, allocations: 7.922 kB / 0.6513 GB, free: 15.9 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.01484, allocations: 4 kB / 0.6513 GB, free: 15.9 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01484, allocations: 0 / 0.6513 GB, free: 15.9 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.01499, allocations: 121.7 kB / 0.6514 GB, free: 15.77 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01499, allocations: 3.938 kB / 0.6514 GB, free: 15.76 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.01515, allocations: 55.94 kB / 0.6515 GB, free: 15.71 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01515, allocations: 0 / 0.6515 GB, free: 15.71 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01517, allocations: 8 kB / 0.6515 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01517, allocations: 0 / 0.6515 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01517, allocations: 7.922 kB / 0.6515 GB, free: 15.69 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.01534, allocations: 218.9 kB / 0.6517 GB, free: 15.46 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.01538, allocations: 23.83 kB / 0.6517 GB, free: 15.44 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.0154, allocations: 4 kB / 0.6517 GB, free: 15.44 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.0155, allocations: 11.98 kB / 0.6518 GB, free: 15.43 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.01552, allocations: 15.92 kB / 0.6518 GB, free: 15.41 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.01554, allocations: 7.984 kB / 0.6518 GB, free: 15.4 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 2.273e-05/0.01556, allocations: 28.83 kB / 0.6518 GB, free: 15.37 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.01556, allocations: 0 / 0.6518 GB, free: 15.37 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002253/0.01578, allocations: 67.89 kB / 0.6519 GB, free: 15.3 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (20): * Single equations (assignments): 20 * 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.0001489/0.01593, allocations: 124.2 kB / 0.652 GB, free: 15.18 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.01609, allocations: 117.2 kB / 0.6521 GB, free: 15.06 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.01609, allocations: 0 / 0.6521 GB, free: 15.06 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.01615, allocations: 60.77 kB / 0.6522 GB, free: 15 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.01641, allocations: 79.98 kB / 0.6522 GB, free: 14.92 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007627/0.01717, allocations: 383.7 kB / 0.6526 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.191e-05/0.01721, allocations: 72.75 kB / 0.6527 GB, free: 14.43 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.01737, allocations: 53.45 kB / 0.6527 GB, free: 14.38 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.01756, allocations: 119.3 kB / 0.6528 GB, free: 14.26 MB / 0.6199 GB Notification: Performance of SimCode: time 7.01e-07/0.01756, allocations: 0 / 0.6528 GB, free: 14.26 MB / 0.6199 GB Notification: Performance of Templates: time 0.005469/0.02303, allocations: 3.785 MB / 0.6565 GB, free: 10.47 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.664981607813388]