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.006925/0.006925, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001528/0.001528, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.381/1.381, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2768/0.2768, allocations: 54.96 MB / 324.9 MB, free: 4.836 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.001389/0.001389, allocations: 75.84 kB / 456.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1362, allocations: 59.6 MB / 0.5037 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Density): time 0.566/0.7022, allocations: 185 MB / 0.6844 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.7135, allocations: 6.784 MB / 0.691 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.7152, allocations: 31.81 kB / 0.691 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.7168, allocations: 477.2 kB / 0.6915 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.7209, allocations: 1.314 MB / 0.6928 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.7252, allocations: 1.254 MB / 0.694 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005281/0.7305, allocations: 2.296 MB / 0.6963 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.7325, allocations: 0.7387 MB / 0.697 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.7362, allocations: 1.012 MB / 0.698 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.7382, allocations: 0.6919 MB / 0.6986 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.7384, allocations: 84 kB / 0.6987 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.7424, allocations: 1.602 MB / 0.7003 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005068/0.7429, allocations: 363.1 kB / 0.7006 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008456/0.7438, allocations: 0.5056 MB / 0.7011 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.7484, allocations: 1.877 MB / 0.703 GB, free: 4.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.7484, allocations: 4 kB / 0.703 GB, free: 4.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7484, allocations: 4 kB / 0.703 GB, free: 4.742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.7485, allocations: 0 / 0.703 GB, free: 4.742 MB / 0.545 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.002643/0.7511, allocations: 1.254 MB / 0.7042 GB, free: 3.438 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.7512, allocations: 12.03 kB / 0.7042 GB, free: 3.426 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.7531, allocations: 246.8 kB / 0.7044 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.7543, allocations: 0.6337 MB / 0.7051 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.7544, allocations: 49.31 kB / 0.7051 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.7545, allocations: 68 kB / 0.7052 GB, free: 2.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.7562, allocations: 0.8157 MB / 0.706 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.7563, allocations: 0 / 0.706 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.7564, allocations: 32 kB / 0.706 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.7564, allocations: 25.25 kB / 0.706 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.7577, allocations: 0.6539 MB / 0.7067 GB, free: 0.8516 MB / 0.545 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.00441/0.7621, allocations: 2.863 MB / 0.7094 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.7631, allocations: 427.8 kB / 0.7099 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.7635, allocations: 233.2 kB / 0.7101 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/0.7638, allocations: 121.4 kB / 0.7102 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.7639, allocations: 50.83 kB / 0.7102 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.454e-06/0.7639, allocations: 0 / 0.7102 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.001814/0.7657, allocations: 0.6622 MB / 0.7109 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.7658, allocations: 59.41 kB / 0.7109 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007797/0.7666, allocations: 0.6016 MB / 0.7115 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/0.7667, allocations: 33.7 kB / 0.7116 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.7669, allocations: 364.1 kB / 0.7119 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.7671, allocations: 141.9 kB / 0.712 GB, free: 11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.7672, allocations: 102.1 kB / 0.7121 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.7674, allocations: 370.8 kB / 0.7125 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.7678, allocations: 210.9 kB / 0.7127 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.7683, allocations: 314.7 kB / 0.713 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/0.7691, allocations: 0.4989 MB / 0.7135 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7691, allocations: 3.938 kB / 0.7135 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001069/0.7702, allocations: 0.6044 MB / 0.7141 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.7702, allocations: 8 kB / 0.7141 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7702, allocations: 352 / 0.7141 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.7703, allocations: 12 kB / 0.7141 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.7721, allocations: 287.6 kB / 0.7144 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.7749, allocations: 1.65 MB / 0.716 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008389/0.7757, allocations: 67.45 kB / 0.7161 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.7758, allocations: 14.62 kB / 0.7161 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007483/0.7765, allocations: 393 kB / 0.7164 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004069/0.777, allocations: 298.8 kB / 0.7167 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007346/0.7777, allocations: 496.9 kB / 0.7172 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.7777, allocations: 4 kB / 0.7172 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.001035/0.7788, allocations: 0.5771 MB / 0.7178 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7788, allocations: 4.938 kB / 0.7178 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.7788, allocations: 4 kB / 0.7178 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.7788, allocations: 4.344 kB / 0.7178 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.7794, allocations: 131.9 kB / 0.7179 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-05/0.7794, allocations: 11.88 kB / 0.7179 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.78, allocations: 51.58 kB / 0.718 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.78, allocations: 15.98 kB / 0.718 GB, free: 4.594 MB / 0.5606 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.0003381/0.7803, allocations: 220.7 kB / 0.7182 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.7805, allocations: 67.25 kB / 0.7183 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.7816, allocations: 0.5045 MB / 0.7187 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.7816, allocations: 7.938 kB / 0.7188 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7816, allocations: 0 / 0.7188 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.7827, allocations: 0.7416 MB / 0.7195 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.7848, allocations: 1.279 MB / 0.7207 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.7848, allocations: 4 kB / 0.7207 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.7864, allocations: 275.8 kB / 0.721 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.7864, allocations: 12.8 kB / 0.721 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.7865, allocations: 12 kB / 0.721 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.7888, allocations: 1.616 MB / 0.7226 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7888, allocations: 7.875 kB / 0.7226 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.7903, allocations: 0.8711 MB / 0.7235 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.7907, allocations: 212.2 kB / 0.7237 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.7908, allocations: 23.86 kB / 0.7237 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.7913, allocations: 31.97 kB / 0.7237 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.7915, allocations: 28.84 kB / 0.7237 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/0.7915, allocations: 27.91 kB / 0.7238 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005332/0.7921, allocations: 427 kB / 0.7242 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7921, allocations: 0 / 0.7242 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00126/0.7933, allocations: 411.1 kB / 0.7246 GB, free: 13.49 MB / 0.5762 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.0005074/0.7939, allocations: 187.6 kB / 0.7247 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002862/0.7967, allocations: 0.9029 MB / 0.7256 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7968, allocations: 1.188 kB / 0.7256 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.7993, allocations: 0.527 MB / 0.7261 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.8013, allocations: 429.5 kB / 0.7266 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.8041, allocations: 1.504 MB / 0.728 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.8048, allocations: 0.977 MB / 0.729 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007778/0.8055, allocations: 217.5 kB / 0.7292 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.8057, allocations: 59.44 kB / 0.7292 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/0.8057, allocations: 0 / 0.7292 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of Templates: time 0.02852/0.8342, allocations: 15.26 MB / 0.7441 GB, free: 9.555 MB / 0.5919 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)