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.001296/0.001296, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009639/0.009639, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.371/1.371, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4227/0.4227, allocations: 55.01 MB / 325.8 MB, free: 0.582 MB / 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.0008307/0.0008307, allocations: 20 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3594, allocations: 60.72 MB / 458 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Density): time 0.196/0.5555, allocations: 180.4 MB / 0.6234 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.5663, allocations: 6.789 MB / 0.63 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.5676, allocations: 23.88 kB / 0.63 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.5689, allocations: 417.8 kB / 0.6304 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.5722, allocations: 1.245 MB / 0.6316 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.5749, allocations: 1.136 MB / 0.6328 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003317/0.5782, allocations: 3.222 MB / 0.6359 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008392/0.5791, allocations: 0.6038 MB / 0.6365 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.5806, allocations: 0.8637 MB / 0.6373 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.5818, allocations: 0.6822 MB / 0.638 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.263e-05/0.5819, allocations: 39.94 kB / 0.638 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.5848, allocations: 1.758 MB / 0.6398 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.5851, allocations: 319 kB / 0.6401 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.5857, allocations: 479.5 kB / 0.6405 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3824/0.9681, allocations: 1.886 MB / 0.6424 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.9682, allocations: 1.219 kB / 0.6424 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.306e-06/0.9682, allocations: 0 / 0.6424 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.9682, allocations: 0 / 0.6424 GB, free: 7.703 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.002208/0.9704, allocations: 1.073 MB / 0.6434 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.9705, allocations: 12.38 kB / 0.6434 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.9723, allocations: 256 kB / 0.6437 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008805/0.9732, allocations: 0.6007 MB / 0.6442 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.9732, allocations: 51.41 kB / 0.6443 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.9733, allocations: 72.44 kB / 0.6444 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.9749, allocations: 0.8255 MB / 0.6452 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.975, allocations: 0.75 kB / 0.6452 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/0.9751, allocations: 31.41 kB / 0.6452 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.9751, allocations: 21.28 kB / 0.6452 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.9766, allocations: 0.6824 MB / 0.6459 GB, free: 6.703 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.003598/0.9802, allocations: 2.86 MB / 0.6487 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/0.981, allocations: 449.2 kB / 0.6491 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.9814, allocations: 233.1 kB / 0.6493 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.9818, allocations: 134 kB / 0.6495 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.9818, allocations: 42.36 kB / 0.6495 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.9818, allocations: 0 / 0.6495 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.001682/0.9835, allocations: 0.7056 MB / 0.6502 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.9836, allocations: 55.09 kB / 0.6502 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007188/0.9843, allocations: 0.5985 MB / 0.6508 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.9843, allocations: 38.95 kB / 0.6509 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.9846, allocations: 369.2 kB / 0.6512 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.9847, allocations: 142.6 kB / 0.6514 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.9848, allocations: 50.38 kB / 0.6514 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.9849, allocations: 379.2 kB / 0.6518 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.9853, allocations: 203.4 kB / 0.652 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.9857, allocations: 321.7 kB / 0.6523 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.9865, allocations: 0.5244 MB / 0.6528 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9865, allocations: 0 / 0.6528 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001027/0.9875, allocations: 0.6173 MB / 0.6534 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.9877, allocations: 170.8 kB / 0.6535 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.9877, allocations: 8.484 kB / 0.6535 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.9877, allocations: 9.562 kB / 0.6536 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.9895, allocations: 363.5 kB / 0.6539 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.9922, allocations: 1.621 MB / 0.6555 GB, free: 18.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008258/0.993, allocations: 102 kB / 0.6556 GB, free: 18.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.993, allocations: 20.09 kB / 0.6556 GB, free: 18.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.9931, allocations: 3.469 kB / 0.6556 GB, free: 18.22 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008797/0.9939, allocations: 0.5034 MB / 0.6561 GB, free: 18.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.994, allocations: 5.312 kB / 0.6561 GB, free: 18.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.565e-06/0.994, allocations: 9.734 kB / 0.6561 GB, free: 18.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.9945, allocations: 138.9 kB / 0.6562 GB, free: 18.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.9945, allocations: 7.562 kB / 0.6563 GB, free: 18.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.9951, allocations: 83.97 kB / 0.6563 GB, free: 18.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.9951, allocations: 21.05 kB / 0.6564 GB, free: 18.17 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.0005315/0.9956, allocations: 331.6 kB / 0.6567 GB, free: 17.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.9958, allocations: 66.75 kB / 0.6567 GB, free: 17.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.9968, allocations: 0.5339 MB / 0.6573 GB, free: 17.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.9968, allocations: 5.438 kB / 0.6573 GB, free: 17.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.9968, allocations: 0 / 0.6573 GB, free: 17.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008744/0.9977, allocations: 0.7476 MB / 0.658 GB, free: 17.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.9998, allocations: 1.32 MB / 0.6593 GB, free: 17.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.9998, allocations: 4.422 kB / 0.6593 GB, free: 17.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.001, allocations: 339 kB / 0.6596 GB, free: 17.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/1.001, allocations: 9.547 kB / 0.6596 GB, free: 17.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/1.002, allocations: 10.28 kB / 0.6596 GB, free: 17.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/1.004, allocations: 1.588 MB / 0.6612 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.004, allocations: 2.531 kB / 0.6612 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/1.006, allocations: 0.9039 MB / 0.6621 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/1.006, allocations: 210.2 kB / 0.6623 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/1.006, allocations: 13 kB / 0.6623 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/1.007, allocations: 59.64 kB / 0.6623 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.007, allocations: 37.3 kB / 0.6624 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-05/1.007, allocations: 28.14 kB / 0.6624 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008399/1.008, allocations: 428 kB / 0.6628 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/1.008, allocations: 0 / 0.6628 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001863/1.01, allocations: 411.8 kB / 0.6632 GB, free: 15.21 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.0005425/1.01, allocations: 185.8 kB / 0.6634 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003241/1.014, allocations: 0.9813 MB / 0.6643 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.014, allocations: 1.875 kB / 0.6643 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002852/1.017, allocations: 0.6149 MB / 0.6649 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.019, allocations: 427.5 kB / 0.6653 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/1.023, allocations: 1.902 MB / 0.6672 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/1.024, allocations: 0.9793 MB / 0.6682 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001244/1.025, allocations: 223.6 kB / 0.6684 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/1.025, allocations: 54.69 kB / 0.6684 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of SimCode: time 1.402e-06/1.025, allocations: 0 / 0.6684 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of Templates: time 0.03679/1.062, allocations: 14.3 MB / 0.6824 GB, free: 11.28 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: