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.001006/0.001006, allocations: 100 kB / 15.05 MB, free: 1.105 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.000989/0.000989, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3957/0.3957, allocations: 54.98 MB / 325.3 MB, free: 0.6797 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.0005831/0.0005835, allocations: 16 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3681, allocations: 60.71 MB / 457.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Density): time 0.1736/0.5417, allocations: 153.9 MB / 0.5969 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009237/0.551, allocations: 6.351 MB / 0.6031 GB, free: 7.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008751/0.5519, allocations: 27.81 kB / 0.6031 GB, free: 6.996 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.5531, allocations: 414.1 kB / 0.6035 GB, free: 6.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003582/0.5567, allocations: 1.189 MB / 0.6047 GB, free: 5.398 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.5598, allocations: 0.9549 MB / 0.6056 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.5624, allocations: 1.324 MB / 0.6069 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009262/0.5633, allocations: 0.5582 MB / 0.6075 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.565, allocations: 0.7516 MB / 0.6082 GB, free: 1.809 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006539/0.5656, allocations: 442.3 kB / 0.6086 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.469e-05/0.5657, allocations: 36 kB / 0.6087 GB, free: 1.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.5675, allocations: 0.6669 MB / 0.6093 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.5679, allocations: 287.2 kB / 0.6096 GB, free: 400 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.5681, allocations: 205.3 kB / 0.6098 GB, free: 188 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.5695, allocations: 1.131 MB / 0.6109 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.5695, allocations: 0 / 0.6109 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5695, allocations: 0 / 0.6109 GB, free: 15.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.5696, allocations: 0 / 0.6109 GB, free: 15.06 MB / 494.1 MB 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.001973/0.5715, allocations: 1.052 MB / 0.6119 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5716, allocations: 8.031 kB / 0.6119 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.5734, allocations: 262.6 kB / 0.6122 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.5745, allocations: 0.5758 MB / 0.6127 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.5745, allocations: 49.31 kB / 0.6128 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5746, allocations: 68 kB / 0.6128 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.5763, allocations: 0.8118 MB / 0.6136 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5763, allocations: 0 / 0.6136 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/0.5764, allocations: 35.95 kB / 0.6137 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.5764, allocations: 21.31 kB / 0.6137 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.5778, allocations: 0.6764 MB / 0.6143 GB, free: 11.39 MB / 494.1 MB 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.004004/0.5818, allocations: 2.855 MB / 0.6171 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000901/0.5827, allocations: 459.7 kB / 0.6176 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/0.5831, allocations: 129.4 kB / 0.6177 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5832, allocations: 38.89 kB / 0.6177 GB, free: 7.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 1.983e-06/0.5832, allocations: 4 kB / 0.6177 GB, free: 7.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.001827/0.585, allocations: 0.7014 MB / 0.6184 GB, free: 6.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.5851, allocations: 63.41 kB / 0.6185 GB, free: 6.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.5857, allocations: 0.59 MB / 0.6191 GB, free: 6.266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.5858, allocations: 33.7 kB / 0.6191 GB, free: 6.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.5861, allocations: 375.9 kB / 0.6195 GB, free: 5.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.5862, allocations: 141.9 kB / 0.6196 GB, free: 5.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.5863, allocations: 8 kB / 0.6196 GB, free: 5.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5864, allocations: 370.8 kB / 0.6199 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.5868, allocations: 205 kB / 0.6201 GB, free: 5.133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.5873, allocations: 318.8 kB / 0.6204 GB, free: 4.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.5878, allocations: 248.7 kB / 0.6207 GB, free: 4.535 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5878, allocations: 3.953 kB / 0.6207 GB, free: 4.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001091/0.5889, allocations: 0.6203 MB / 0.6213 GB, free: 3.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004052/0.5893, allocations: 1.045 MB / 0.6223 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.5894, allocations: 4 kB / 0.6223 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5894, allocations: 8 kB / 0.6223 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.5914, allocations: 368.4 kB / 0.6227 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.5941, allocations: 1.636 MB / 0.6243 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/0.5949, allocations: 100.1 kB / 0.6244 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.5949, allocations: 20 kB / 0.6244 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.595, allocations: 4 kB / 0.6244 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/0.596, allocations: 0.5097 MB / 0.6249 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.596, allocations: 3.953 kB / 0.6249 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.596, allocations: 8.344 kB / 0.6249 GB, free: 0 / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.5966, allocations: 145.8 kB / 0.625 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5966, allocations: 7.938 kB / 0.625 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/0.5972, allocations: 83.48 kB / 0.6251 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.5973, allocations: 20 kB / 0.6251 GB, free: 15.75 MB / 0.4981 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004964/0.5978, allocations: 324.9 kB / 0.6255 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.5979, allocations: 71.16 kB / 0.6255 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.599, allocations: 0.5279 MB / 0.626 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.599, allocations: 4 kB / 0.626 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.599, allocations: 0 / 0.626 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.6, allocations: 0.7575 MB / 0.6268 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.6022, allocations: 1.302 MB / 0.6281 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.6022, allocations: 4.875 kB / 0.6281 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.604, allocations: 343.6 kB / 0.6284 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.604, allocations: 7.938 kB / 0.6284 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.6041, allocations: 12 kB / 0.6284 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.6065, allocations: 1.608 MB / 0.63 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6066, allocations: 7.969 kB / 0.63 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.6082, allocations: 0.9625 MB / 0.6309 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/0.6086, allocations: 217 kB / 0.6311 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.6087, allocations: 16 kB / 0.6311 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/0.6094, allocations: 63.84 kB / 0.6312 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.6095, allocations: 31.89 kB / 0.6312 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.6096, allocations: 27.94 kB / 0.6313 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000505/0.6101, allocations: 423 kB / 0.6317 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6101, allocations: 4 kB / 0.6317 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001169/0.6112, allocations: 411.1 kB / 0.6321 GB, free: 8.27 MB / 0.4981 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004616/0.6117, allocations: 178.1 kB / 0.6322 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002918/0.6147, allocations: 0.973 MB / 0.6332 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.6147, allocations: 1.188 kB / 0.6332 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002763/0.6174, allocations: 0.6168 MB / 0.6338 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.6196, allocations: 425.8 kB / 0.6342 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.6227, allocations: 1.844 MB / 0.636 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.6234, allocations: 0.9927 MB / 0.637 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009021/0.6243, allocations: 213.1 kB / 0.6372 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.6244, allocations: 51.44 kB / 0.6372 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.6244, allocations: 0 / 0.6372 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of Templates: time 0.2335/0.858, allocations: 13.83 MB / 0.6507 GB, free: 157 MB / 0.4981 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: