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.001654/0.001654, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002311/0.002311, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.357/1.357, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3987/0.3987, allocations: 54.92 MB / 324.4 MB, free: 32 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.001464/0.001465, allocations: 71.91 kB / 394.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 59.59 MB / 454.5 MB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Density): time 0.4245/0.5428, allocations: 182.6 MB / 0.6222 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008835/0.5517, allocations: 6.749 MB / 0.6288 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.5528, allocations: 27.81 kB / 0.6288 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.5543, allocations: 429.8 kB / 0.6292 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.558, allocations: 1.245 MB / 0.6304 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003513/0.5616, allocations: 1.15 MB / 0.6315 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00414/0.5657, allocations: 2.304 MB / 0.6338 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.5671, allocations: 0.7181 MB / 0.6345 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.5696, allocations: 0.9963 MB / 0.6355 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.5709, allocations: 0.7356 MB / 0.6362 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.571, allocations: 84 kB / 0.6363 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.5749, allocations: 1.641 MB / 0.6379 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.5753, allocations: 367.1 kB / 0.6382 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.36/0.9353, allocations: 0.504 MB / 0.6387 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.9398, allocations: 1.945 MB / 0.6406 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.9398, allocations: 1.094 kB / 0.6406 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.614e-06/0.9398, allocations: 0 / 0.6406 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.9398, allocations: 0 / 0.6406 GB, free: 5.648 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.002306/0.9421, allocations: 1.252 MB / 0.6418 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.9422, allocations: 9.875 kB / 0.6418 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.944, allocations: 260.2 kB / 0.6421 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/0.9449, allocations: 0.5995 MB / 0.6427 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.9449, allocations: 51.47 kB / 0.6427 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.945, allocations: 66.94 kB / 0.6428 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.9466, allocations: 0.8087 MB / 0.6436 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.9466, allocations: 0.5625 kB / 0.6436 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.9467, allocations: 31.84 kB / 0.6436 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.9467, allocations: 21.53 kB / 0.6436 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.948, allocations: 0.662 MB / 0.6443 GB, free: 4.605 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.003638/0.9516, allocations: 2.853 MB / 0.647 GB, free: 19.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008182/0.9524, allocations: 435.1 kB / 0.6475 GB, free: 19.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.9528, allocations: 235 kB / 0.6477 GB, free: 19.06 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003662/0.9532, allocations: 121.9 kB / 0.6478 GB, free: 18.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.9533, allocations: 45.02 kB / 0.6478 GB, free: 18.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.9533, allocations: 0 / 0.6478 GB, free: 18.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.001761/0.955, allocations: 0.6708 MB / 0.6485 GB, free: 18.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.9551, allocations: 55.53 kB / 0.6486 GB, free: 18.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006726/0.9558, allocations: 0.5984 MB / 0.6491 GB, free: 18.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.9559, allocations: 38.58 kB / 0.6492 GB, free: 18.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.9561, allocations: 366.1 kB / 0.6495 GB, free: 18.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.9562, allocations: 146.9 kB / 0.6497 GB, free: 18.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.9564, allocations: 99.62 kB / 0.6498 GB, free: 18.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.9566, allocations: 374.9 kB / 0.6501 GB, free: 18.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.957, allocations: 205.6 kB / 0.6503 GB, free: 18.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.9575, allocations: 311.1 kB / 0.6506 GB, free: 17.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008244/0.9583, allocations: 0.5016 MB / 0.6511 GB, free: 17.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.9583, allocations: 4.469 kB / 0.6511 GB, free: 17.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009791/0.9593, allocations: 0.5997 MB / 0.6517 GB, free: 17.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.9593, allocations: 7.031 kB / 0.6517 GB, free: 17.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.9593, allocations: 1.812 kB / 0.6517 GB, free: 17.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9594, allocations: 5.844 kB / 0.6517 GB, free: 17.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.9612, allocations: 294.2 kB / 0.652 GB, free: 17.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.9636, allocations: 1.648 MB / 0.6536 GB, free: 16.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.9643, allocations: 100.1 kB / 0.6537 GB, free: 16.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.9644, allocations: 20.91 kB / 0.6537 GB, free: 16.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000581/0.965, allocations: 383.1 kB / 0.6541 GB, free: 16.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003531/0.9653, allocations: 302.1 kB / 0.6544 GB, free: 16.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006174/0.966, allocations: 497.2 kB / 0.6548 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.624e-06/0.966, allocations: 3.625 kB / 0.6548 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.0008833/0.9669, allocations: 0.5732 MB / 0.6554 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.9669, allocations: 8.625 kB / 0.6554 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.9669, allocations: 2.094 kB / 0.6554 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.9669, allocations: 9.281 kB / 0.6554 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.9674, allocations: 138.8 kB / 0.6556 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.9674, allocations: 4.156 kB / 0.6556 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.968, allocations: 72.23 kB / 0.6556 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.968, allocations: 19 kB / 0.6556 GB, free: 15.88 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.0002458/0.9683, allocations: 208.5 kB / 0.6558 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.9684, allocations: 67.91 kB / 0.6559 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.9694, allocations: 0.5149 MB / 0.6564 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.9694, allocations: 4.125 kB / 0.6564 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.9695, allocations: 0.8438 kB / 0.6564 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.9705, allocations: 0.7397 MB / 0.6571 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.9726, allocations: 1.295 MB / 0.6584 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9726, allocations: 1.312 kB / 0.6584 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.9744, allocations: 273.6 kB / 0.6587 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.9744, allocations: 3.438 kB / 0.6587 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.9745, allocations: 14.98 kB / 0.6587 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.9767, allocations: 1.622 MB / 0.6603 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9768, allocations: 4.031 kB / 0.6603 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.9784, allocations: 0.871 MB / 0.6611 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.9787, allocations: 211.4 kB / 0.6613 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.9789, allocations: 14.88 kB / 0.6613 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.9796, allocations: 58.98 kB / 0.6614 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.9797, allocations: 28.41 kB / 0.6614 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.9798, allocations: 27.66 kB / 0.6614 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006071/0.9804, allocations: 427.6 kB / 0.6619 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9804, allocations: 0 / 0.6619 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001392/0.9818, allocations: 416.8 kB / 0.6623 GB, free: 12.9 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.0004992/0.9823, allocations: 178.1 kB / 0.6624 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003102/0.9854, allocations: 0.9452 MB / 0.6633 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.9854, allocations: 2.062 kB / 0.6633 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002698/0.9881, allocations: 0.521 MB / 0.6639 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.9905, allocations: 445.2 kB / 0.6643 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.9937, allocations: 1.786 MB / 0.666 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.9945, allocations: 0.9789 MB / 0.667 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001036/0.9955, allocations: 217.2 kB / 0.6672 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.9957, allocations: 60.08 kB / 0.6672 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.9957, allocations: 0 / 0.6672 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of Templates: time 0.03166/1.027, allocations: 14.8 MB / 0.6817 GB, free: 9.816 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)