Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") translateModel(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006467/0.006467, allocations: 99.56 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 193.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4107/0.4107, allocations: 54.94 MB / 324.8 MB, free: 4 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 62.75 kB / 456.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1468, allocations: 59.59 MB / 0.5038 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.01457/0.1614, allocations: 13.19 MB / 0.5167 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.164, allocations: 1.602 MB / 0.5182 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003959/0.1644, allocations: 8 kB / 0.5183 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008514/0.1653, allocations: 174.9 kB / 0.5184 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.1665, allocations: 314.2 kB / 0.5187 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.1673, allocations: 197.1 kB / 0.5189 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.1685, allocations: 0.6652 MB / 0.5196 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.1687, allocations: 100.7 kB / 0.5197 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006705/0.1694, allocations: 358.6 kB / 0.52 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.1698, allocations: 239 kB / 0.5202 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.1699, allocations: 24 kB / 0.5202 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.17, allocations: 35.98 kB / 0.5203 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1701, allocations: 75.69 kB / 0.5204 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1703, allocations: 159.3 kB / 0.5205 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.1708, allocations: 362.6 kB / 0.5208 GB, free: 9.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1708, allocations: 0 / 0.5208 GB, free: 9.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1709, allocations: 0 / 0.5208 GB, free: 9.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1709, allocations: 0 / 0.5208 GB, free: 9.477 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007919/0.1717, allocations: 0.565 MB / 0.5214 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1717, allocations: 8.031 kB / 0.5214 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.172, allocations: 40.73 kB / 0.5214 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.1724, allocations: 279.8 kB / 0.5217 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1724, allocations: 20.94 kB / 0.5217 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.1725, allocations: 28.38 kB / 0.5218 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.173, allocations: 308.1 kB / 0.5221 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.173, allocations: 4 kB / 0.5221 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.173, allocations: 15.94 kB / 0.5221 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.173, allocations: 8 kB / 0.5221 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.1733, allocations: 165.5 kB / 0.5222 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.1752, allocations: 1.849 MB / 0.524 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1755, allocations: 110.6 kB / 0.5242 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.1756, allocations: 48.84 kB / 0.5242 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.1756, allocations: 8 kB / 0.5242 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.1756, allocations: 38.5 kB / 0.5242 GB, free: 5.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1756, allocations: 0 / 0.5242 GB, free: 5.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001348/0.177, allocations: 0.6404 MB / 0.5249 GB, free: 4.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1771, allocations: 55.41 kB / 0.5249 GB, free: 4.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.1774, allocations: 282.5 kB / 0.5252 GB, free: 4.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1774, allocations: 25.7 kB / 0.5252 GB, free: 4.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1775, allocations: 200 kB / 0.5254 GB, free: 4.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.1776, allocations: 67.41 kB / 0.5255 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.1776, allocations: 57.66 kB / 0.5255 GB, free: 4.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1778, allocations: 338.8 kB / 0.5258 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.1779, allocations: 47.98 kB / 0.5259 GB, free: 3.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.178, allocations: 165.3 kB / 0.5261 GB, free: 3.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.1783, allocations: 236.5 kB / 0.5263 GB, free: 3.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1783, allocations: 4 kB / 0.5263 GB, free: 3.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003925/0.1787, allocations: 286 kB / 0.5266 GB, free: 3.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1787, allocations: 8 kB / 0.5266 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1788, allocations: 3.938 kB / 0.5266 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.1789, allocations: 24.84 kB / 0.5266 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.1791, allocations: 72.34 kB / 0.5267 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.1802, allocations: 1.387 MB / 0.528 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1804, allocations: 12.06 kB / 0.528 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1804, allocations: 12 kB / 0.528 GB, free: 1.461 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.1806, allocations: 157.6 kB / 0.5282 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.1806, allocations: 23.86 kB / 0.5282 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.1807, allocations: 30.17 kB / 0.5282 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1807, allocations: 0 / 0.5282 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1807, allocations: 0 / 0.5282 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003619/0.1811, allocations: 455.7 kB / 0.5287 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007876/0.1819, allocations: 0.5804 MB / 0.5292 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1819, allocations: 0 / 0.5292 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.182, allocations: 31.98 kB / 0.5293 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1821, allocations: 7.938 kB / 0.5293 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1821, allocations: 8.156 kB / 0.5293 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.1821, allocations: 7.984 kB / 0.5293 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1821, allocations: 0 / 0.5293 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.1825, allocations: 334.3 kB / 0.5296 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.1826, allocations: 101 kB / 0.5297 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.1826, allocations: 11.92 kB / 0.5297 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1828, allocations: 8 kB / 0.5297 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.1828, allocations: 11.92 kB / 0.5297 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1828, allocations: 16 kB / 0.5298 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.1831, allocations: 194 kB / 0.5299 GB, free: 15.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1831, allocations: 0 / 0.5299 GB, free: 15.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.1834, allocations: 76.06 kB / 0.53 GB, free: 15.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * 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 (16): * Single equations (assignments): 16 * 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.0001424/0.1836, allocations: 99.23 kB / 0.5301 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.1841, allocations: 270.4 kB / 0.5304 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.1841, allocations: 0.875 kB / 0.5304 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.1842, allocations: 63.92 kB / 0.5304 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.1852, allocations: 148.1 kB / 0.5306 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.1862, allocations: 0.5939 MB / 0.5311 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1865, allocations: 0.7561 MB / 0.5319 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.1867, allocations: 46.95 kB / 0.5319 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.1867, allocations: 27.44 kB / 0.532 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1867, allocations: 0 / 0.532 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Templates: time 0.008466/0.1952, allocations: 4.76 MB / 0.5366 GB, free: 8.406 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe 2>&1)