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.00844/0.008441, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001431/0.001431, allocations: 194.4 kB / 16.67 MB, free: 5.93 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.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4148/0.4148, allocations: 54.94 MB / 324.8 MB, free: 15.98 MB / 270.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.001474/0.001474, allocations: 65.41 kB / 456.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1316, allocations: 59.59 MB / 0.5037 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.01251/0.1442, allocations: 13.17 MB / 0.5166 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.1471, allocations: 1.61 MB / 0.5182 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.1476, allocations: 7.938 kB / 0.5182 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008459/0.1485, allocations: 178.9 kB / 0.5184 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008698/0.1494, allocations: 310.3 kB / 0.5187 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.15, allocations: 186.3 kB / 0.5188 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008228/0.1509, allocations: 0.6808 MB / 0.5195 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.1511, allocations: 96.67 kB / 0.5196 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005682/0.1517, allocations: 354.6 kB / 0.5199 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.152, allocations: 243 kB / 0.5202 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.1521, allocations: 20 kB / 0.5202 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1522, allocations: 32 kB / 0.5202 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.1523, allocations: 79.67 kB / 0.5203 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.1525, allocations: 155.3 kB / 0.5204 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.1529, allocations: 366.8 kB / 0.5208 GB, free: 9.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1529, allocations: 0 / 0.5208 GB, free: 9.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1529, allocations: 0 / 0.5208 GB, free: 9.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1529, allocations: 7.984 kB / 0.5208 GB, free: 9.441 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.0008369/0.1537, allocations: 0.5497 MB / 0.5213 GB, free: 8.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1538, allocations: 15.97 kB / 0.5213 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.1541, allocations: 36.64 kB / 0.5214 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.1546, allocations: 271.8 kB / 0.5216 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1547, allocations: 24.92 kB / 0.5217 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.1547, allocations: 24.38 kB / 0.5217 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.1552, allocations: 308.1 kB / 0.522 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.1552, allocations: 7.938 kB / 0.522 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1553, allocations: 8 kB / 0.522 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.1553, allocations: 12 kB / 0.522 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.1556, allocations: 169.5 kB / 0.5222 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.1574, allocations: 1.841 MB / 0.524 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1576, allocations: 106.6 kB / 0.5241 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.1577, allocations: 60.92 kB / 0.5241 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1577, allocations: 0 / 0.5241 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1577, allocations: 38.5 kB / 0.5242 GB, free: 5.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.1577, allocations: 3.938 kB / 0.5242 GB, free: 5.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001204/0.159, allocations: 0.6452 MB / 0.5248 GB, free: 4.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.159, allocations: 55.41 kB / 0.5248 GB, free: 4.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1593, allocations: 270.6 kB / 0.5251 GB, free: 4.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1593, allocations: 33.7 kB / 0.5251 GB, free: 4.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1595, allocations: 199.5 kB / 0.5253 GB, free: 4.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.1595, allocations: 55.2 kB / 0.5254 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.1596, allocations: 61.61 kB / 0.5254 GB, free: 4.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1597, allocations: 334.8 kB / 0.5258 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.1598, allocations: 59.97 kB / 0.5258 GB, free: 3.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.16, allocations: 165.2 kB / 0.526 GB, free: 3.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.1603, allocations: 236.6 kB / 0.5262 GB, free: 3.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1603, allocations: 0 / 0.5262 GB, free: 3.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004252/0.1607, allocations: 285.8 kB / 0.5265 GB, free: 3.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1608, allocations: 8 kB / 0.5265 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1608, allocations: 7.938 kB / 0.5265 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.1609, allocations: 21.3 kB / 0.5265 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1612, allocations: 71.89 kB / 0.5266 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.1624, allocations: 1.387 MB / 0.5279 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1626, allocations: 8 kB / 0.5279 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1626, allocations: 12 kB / 0.5279 GB, free: 1.457 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.0001677/0.1628, allocations: 153.7 kB / 0.5281 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.1628, allocations: 27.62 kB / 0.5281 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.1629, allocations: 26.17 kB / 0.5281 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1629, allocations: 4 kB / 0.5281 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1629, allocations: 4.062 kB / 0.5281 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003889/0.1633, allocations: 455.8 kB / 0.5286 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000813/0.1641, allocations: 0.5804 MB / 0.5292 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1642, allocations: 0 / 0.5292 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1643, allocations: 36.14 kB / 0.5292 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1643, allocations: 3.938 kB / 0.5292 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1643, allocations: 4 kB / 0.5292 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1644, allocations: 7.938 kB / 0.5292 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1644, allocations: 0 / 0.5292 GB, free: 0 / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.1648, allocations: 327.5 kB / 0.5295 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/0.1648, allocations: 96.83 kB / 0.5296 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.1649, allocations: 7.938 kB / 0.5296 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.1651, allocations: 19.92 kB / 0.5296 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.1651, allocations: 8 kB / 0.5296 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1652, allocations: 7.984 kB / 0.5296 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1654, allocations: 206 kB / 0.5298 GB, free: 15.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1654, allocations: 0 / 0.5298 GB, free: 15.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.1657, allocations: 68 kB / 0.5299 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.0001305/0.1659, allocations: 95.25 kB / 0.53 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004462/0.1663, allocations: 275 kB / 0.5303 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1663, allocations: 4.188 kB / 0.5303 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.1664, allocations: 51.92 kB / 0.5303 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.1673, allocations: 157.1 kB / 0.5305 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1684, allocations: 0.5908 MB / 0.531 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1688, allocations: 0.7483 MB / 0.5318 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.169, allocations: 50.94 kB / 0.5318 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.1691, allocations: 27.44 kB / 0.5318 GB, free: 13.15 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1691, allocations: 0 / 0.5318 GB, free: 13.15 MB / 414.1 MB Notification: Performance of Templates: time 0.00902/0.1781, allocations: 4.754 MB / 0.5365 GB, free: 8.422 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)