Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.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.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density") translateModel(Annex60.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00152/0.00152, allocations: 194.4 kB / 16.14 MB, free: 6.711 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.422/1.422, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4463/0.4463, allocations: 54.93 MB / 324.3 MB, free: 124 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.001339/0.001339, allocations: 63.91 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1363, allocations: 59.59 MB / 454.3 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Density): time 0.4776/0.6139, allocations: 182.8 MB / 0.6221 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.6247, allocations: 6.873 MB / 0.6288 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.6257, allocations: 31.75 kB / 0.6288 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.6273, allocations: 414 kB / 0.6292 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.6308, allocations: 1.249 MB / 0.6304 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.634, allocations: 1.136 MB / 0.6316 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003569/0.6375, allocations: 3.228 MB / 0.6347 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.6386, allocations: 0.6178 MB / 0.6353 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.6404, allocations: 0.8793 MB / 0.6362 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.6417, allocations: 0.7064 MB / 0.6369 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.6419, allocations: 47.94 kB / 0.6369 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.6452, allocations: 1.758 MB / 0.6386 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.3602/1.005, allocations: 326.8 kB / 0.6389 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/1.007, allocations: 468 kB / 0.6394 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003974/1.011, allocations: 1.911 MB / 0.6412 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.011, allocations: 1.938 kB / 0.6412 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/1.011, allocations: 0 / 0.6412 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.576e-05/1.011, allocations: 1.203 kB / 0.6412 GB, free: 4.996 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002384/1.013, allocations: 1.252 MB / 0.6425 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.013, allocations: 9.406 kB / 0.6425 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/1.015, allocations: 264.1 kB / 0.6427 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/1.016, allocations: 0.5937 MB / 0.6433 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/1.016, allocations: 47.83 kB / 0.6434 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.966e-05/1.016, allocations: 71.28 kB / 0.6434 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/1.018, allocations: 0.8051 MB / 0.6442 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.018, allocations: 1.875 kB / 0.6442 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/1.018, allocations: 31.14 kB / 0.6442 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/1.018, allocations: 22.31 kB / 0.6443 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/1.019, allocations: 0.6593 MB / 0.6449 GB, free: 3.98 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/1.024, allocations: 2.855 MB / 0.6477 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/1.025, allocations: 438 kB / 0.6481 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/1.025, allocations: 230.7 kB / 0.6483 GB, free: 18.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/1.026, allocations: 126 kB / 0.6485 GB, free: 18.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.026, allocations: 38.14 kB / 0.6485 GB, free: 18.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 5.38e-06/1.026, allocations: 0 / 0.6485 GB, free: 18.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.001796/1.027, allocations: 0.6723 MB / 0.6491 GB, free: 18.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.027, allocations: 58.44 kB / 0.6492 GB, free: 18.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/1.028, allocations: 0.5978 MB / 0.6498 GB, free: 18.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/1.028, allocations: 36.61 kB / 0.6498 GB, free: 17.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/1.028, allocations: 364.9 kB / 0.6502 GB, free: 17.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/1.029, allocations: 153.3 kB / 0.6503 GB, free: 17.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/1.029, allocations: 97.14 kB / 0.6504 GB, free: 17.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.029, allocations: 371.6 kB / 0.6508 GB, free: 17.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/1.029, allocations: 203.5 kB / 0.651 GB, free: 17.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/1.03, allocations: 311.6 kB / 0.6513 GB, free: 17.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/1.031, allocations: 0.5051 MB / 0.6517 GB, free: 17.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.031, allocations: 0 / 0.6517 GB, free: 17.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001256/1.032, allocations: 0.6001 MB / 0.6523 GB, free: 17.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/1.032, allocations: 9.109 kB / 0.6523 GB, free: 17.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.032, allocations: 2.719 kB / 0.6523 GB, free: 17.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.032, allocations: 5.594 kB / 0.6523 GB, free: 17.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/1.034, allocations: 291 kB / 0.6526 GB, free: 17.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/1.036, allocations: 1.542 MB / 0.6541 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/1.037, allocations: 92.86 kB / 0.6542 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/1.037, allocations: 18.28 kB / 0.6542 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006959/1.038, allocations: 389.6 kB / 0.6546 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004322/1.038, allocations: 301.1 kB / 0.6549 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007153/1.039, allocations: 491.8 kB / 0.6554 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/1.039, allocations: 3.422 kB / 0.6554 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.0009323/1.04, allocations: 0.5801 MB / 0.6559 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.04, allocations: 6.906 kB / 0.6559 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.04, allocations: 7.688 kB / 0.6559 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/1.04, allocations: 8.938 kB / 0.656 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/1.041, allocations: 132 kB / 0.6561 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.041, allocations: 4.812 kB / 0.6561 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/1.041, allocations: 73.22 kB / 0.6562 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/1.041, allocations: 20.34 kB / 0.6562 GB, free: 15.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002487/1.042, allocations: 208.4 kB / 0.6564 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.042, allocations: 70.19 kB / 0.6564 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/1.043, allocations: 0.5065 MB / 0.6569 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/1.043, allocations: 5.875 kB / 0.6569 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/1.043, allocations: 6 kB / 0.6569 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009924/1.044, allocations: 0.7378 MB / 0.6577 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/1.046, allocations: 1.297 MB / 0.6589 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/1.046, allocations: 1.938 kB / 0.6589 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/1.048, allocations: 271.1 kB / 0.6592 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.048, allocations: 4.234 kB / 0.6592 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/1.048, allocations: 15.28 kB / 0.6592 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/1.05, allocations: 1.509 MB / 0.6607 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.05, allocations: 3.031 kB / 0.6607 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/1.052, allocations: 0.8866 MB / 0.6616 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/1.052, allocations: 207 kB / 0.6618 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/1.052, allocations: 10.16 kB / 0.6618 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/1.053, allocations: 61.19 kB / 0.6618 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/1.053, allocations: 33.64 kB / 0.6619 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/1.053, allocations: 22.78 kB / 0.6619 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006362/1.054, allocations: 429.5 kB / 0.6623 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.054, allocations: 5.203 kB / 0.6623 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001473/1.055, allocations: 408.3 kB / 0.6627 GB, free: 12.34 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000526/1.056, allocations: 185.7 kB / 0.6629 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003012/1.059, allocations: 0.8899 MB / 0.6637 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.059, allocations: 1.156 kB / 0.6637 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00282/1.062, allocations: 0.5204 MB / 0.6642 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.064, allocations: 436.4 kB / 0.6647 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/1.067, allocations: 1.786 MB / 0.6664 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/1.068, allocations: 0.9823 MB / 0.6674 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001063/1.069, allocations: 222.2 kB / 0.6676 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/1.069, allocations: 57.28 kB / 0.6676 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of SimCode: time 1.243e-06/1.069, allocations: 0 / 0.6676 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.03227/1.101, allocations: 14.38 MB / 0.6817 GB, free: 9.086 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe 2>&1)