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.00867/0.00867, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001451/0.001451, allocations: 196.6 kB / 16.68 MB, free: 5.965 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.528/1.528, allocations: 205.1 MB / 222.6 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3805/0.3805, allocations: 54.94 MB / 324.8 MB, free: 20 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.001426/0.001426, allocations: 69.23 kB / 456.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1152, allocations: 59.59 MB / 0.5038 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Density): time 0.5067/0.622, allocations: 185 MB / 0.6845 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008603/0.6307, allocations: 6.791 MB / 0.6911 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.632, allocations: 26.88 kB / 0.6912 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.6332, allocations: 0.4905 MB / 0.6916 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.6369, allocations: 1.359 MB / 0.693 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.6402, allocations: 1.264 MB / 0.6942 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003116/0.6433, allocations: 2.307 MB / 0.6964 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009445/0.6443, allocations: 0.7403 MB / 0.6972 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.6464, allocations: 1.036 MB / 0.6982 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.6479, allocations: 0.6852 MB / 0.6989 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.6482, allocations: 82.22 kB / 0.6989 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.6512, allocations: 1.613 MB / 0.7005 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004487/0.6517, allocations: 361.6 kB / 0.7008 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.6525, allocations: 0.5048 MB / 0.7013 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.6559, allocations: 1.884 MB / 0.7032 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6559, allocations: 4 kB / 0.7032 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6559, allocations: 0 / 0.7032 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.615e-05/0.6559, allocations: 0 / 0.7032 GB, free: 14.76 MB / 0.5137 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.002399/0.6583, allocations: 1.258 MB / 0.7044 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.6584, allocations: 7.875 kB / 0.7044 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.6603, allocations: 250.4 kB / 0.7047 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.6614, allocations: 0.6332 MB / 0.7053 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.6614, allocations: 50.5 kB / 0.7053 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.231e-05/0.6615, allocations: 63.22 kB / 0.7054 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.6631, allocations: 0.8151 MB / 0.7062 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.6631, allocations: 2.812 kB / 0.7062 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.6632, allocations: 27.81 kB / 0.7062 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.6633, allocations: 20.47 kB / 0.7062 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.6645, allocations: 0.6599 MB / 0.7069 GB, free: 13.08 MB / 0.5137 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.003643/0.6682, allocations: 2.859 MB / 0.7097 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/0.669, allocations: 441 kB / 0.7101 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.6693, allocations: 226.4 kB / 0.7103 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003341/0.6697, allocations: 120.7 kB / 0.7104 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.6697, allocations: 44.7 kB / 0.7105 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/0.6697, allocations: 3.25 kB / 0.7105 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.001627/0.6713, allocations: 0.6647 MB / 0.7111 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.6714, allocations: 64.16 kB / 0.7112 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006153/0.672, allocations: 0.603 MB / 0.7118 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.6721, allocations: 36.64 kB / 0.7118 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.6723, allocations: 361.6 kB / 0.7121 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.6724, allocations: 145.9 kB / 0.7123 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.6726, allocations: 100 kB / 0.7124 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6727, allocations: 371.7 kB / 0.7127 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.6731, allocations: 205.5 kB / 0.7129 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.6736, allocations: 311.5 kB / 0.7132 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008269/0.6744, allocations: 0.5007 MB / 0.7137 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6745, allocations: 2.844 kB / 0.7137 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00105/0.6755, allocations: 0.6012 MB / 0.7143 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6755, allocations: 4.844 kB / 0.7143 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.6756, allocations: 5.25 kB / 0.7143 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6756, allocations: 6.781 kB / 0.7143 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.6773, allocations: 291.3 kB / 0.7146 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.6797, allocations: 1.655 MB / 0.7162 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.6803, allocations: 69.8 kB / 0.7163 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.6804, allocations: 23.17 kB / 0.7163 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005617/0.681, allocations: 380.4 kB / 0.7167 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003739/0.6813, allocations: 299.8 kB / 0.717 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007338/0.6821, allocations: 486.8 kB / 0.7174 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.6821, allocations: 6.406 kB / 0.7174 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.0008915/0.683, allocations: 0.5755 MB / 0.718 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.683, allocations: 9.969 kB / 0.718 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.683, allocations: 2.438 kB / 0.718 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.683, allocations: 10 kB / 0.718 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.6836, allocations: 133.3 kB / 0.7181 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6836, allocations: 10.28 kB / 0.7181 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.6841, allocations: 50.14 kB / 0.7182 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.6842, allocations: 22.58 kB / 0.7182 GB, free: 4.746 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.0002017/0.6844, allocations: 215.8 kB / 0.7184 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6845, allocations: 66.34 kB / 0.7185 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.6855, allocations: 0.5019 MB / 0.719 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.6856, allocations: 9.156 kB / 0.719 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.6856, allocations: 4 kB / 0.719 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009155/0.6865, allocations: 0.7449 MB / 0.7197 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.6883, allocations: 1.281 MB / 0.721 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6883, allocations: 4.844 kB / 0.721 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.6899, allocations: 275.5 kB / 0.7212 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.6899, allocations: 2.094 kB / 0.7212 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.69, allocations: 15.25 kB / 0.7212 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.692, allocations: 1.617 MB / 0.7228 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.692, allocations: 2.094 kB / 0.7228 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.6934, allocations: 0.8812 MB / 0.7237 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.6937, allocations: 208.3 kB / 0.7239 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.6938, allocations: 19.92 kB / 0.7239 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.6943, allocations: 31.97 kB / 0.7239 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.603e-05/0.6944, allocations: 27.97 kB / 0.724 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.6945, allocations: 30.12 kB / 0.724 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004899/0.695, allocations: 427 kB / 0.7244 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.695, allocations: 0 / 0.7244 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009912/0.696, allocations: 407.1 kB / 0.7248 GB, free: 15 MB / 0.5294 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.0003794/0.6964, allocations: 184.8 kB / 0.725 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0027/0.6991, allocations: 0.8929 MB / 0.7258 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6991, allocations: 1.188 kB / 0.7258 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.7016, allocations: 0.5303 MB / 0.7264 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.7035, allocations: 445.2 kB / 0.7268 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.7061, allocations: 1.513 MB / 0.7283 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.7066, allocations: 0.981 MB / 0.7292 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006991/0.7073, allocations: 213.5 kB / 0.7294 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.7075, allocations: 55.44 kB / 0.7295 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.7075, allocations: 0 / 0.7295 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.02464/0.7321, allocations: 15.02 MB / 0.7441 GB, free: 11.32 MB / 0.545 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)