Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002083/0.002083, allocations: 187.7 kB / 16.25 MB, free: 6.145 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.448/1.448, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3857/0.3857, allocations: 54.93 MB / 324.4 MB, free: 84 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.001439/0.001439, allocations: 67.89 kB / 394.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1569, allocations: 59.59 MB / 454.4 MB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5036/0.6606, allocations: 165.1 MB / 0.605 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.6637, allocations: 1.505 MB / 0.6065 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.6641, allocations: 7.938 kB / 0.6065 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008577/0.665, allocations: 203 kB / 0.6067 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.6665, allocations: 0.56 MB / 0.6072 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.6685, allocations: 0.6444 MB / 0.6079 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.6698, allocations: 1.049 MB / 0.6089 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.6703, allocations: 306.6 kB / 0.6092 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.6713, allocations: 0.5371 MB / 0.6097 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.6718, allocations: 346.7 kB / 0.61 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/0.6718, allocations: 44 kB / 0.6101 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.673, allocations: 0.6625 MB / 0.6107 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.6732, allocations: 179.5 kB / 0.6109 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.6735, allocations: 255.7 kB / 0.6111 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.6747, allocations: 0.9309 MB / 0.612 GB, free: 11.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6747, allocations: 0 / 0.612 GB, free: 11.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6747, allocations: 4 kB / 0.612 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.6747, allocations: 0 / 0.612 GB, free: 11.68 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001407/0.6761, allocations: 0.7689 MB / 0.6128 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6762, allocations: 8.031 kB / 0.6128 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.6774, allocations: 156.5 kB / 0.6129 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.6779, allocations: 352 kB / 0.6133 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.6779, allocations: 25 kB / 0.6133 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.678, allocations: 36 kB / 0.6133 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.6788, allocations: 422.9 kB / 0.6137 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6788, allocations: 8 kB / 0.6138 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.6789, allocations: 16 kB / 0.6138 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.6789, allocations: 8 kB / 0.6138 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.6795, allocations: 307.7 kB / 0.6141 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.6818, allocations: 1.485 MB / 0.6155 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.6821, allocations: 130.5 kB / 0.6156 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.6823, allocations: 85.73 kB / 0.6157 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003965/0.6827, allocations: 113.1 kB / 0.6158 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.6827, allocations: 43.61 kB / 0.6159 GB, free: 7.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.6827, allocations: 0 / 0.6159 GB, free: 7.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006833/0.6834, allocations: 262.4 kB / 0.6161 GB, free: 7.238 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.6835, allocations: 55.34 kB / 0.6162 GB, free: 7.172 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.684, allocations: 441.8 kB / 0.6166 GB, free: 6.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.684, allocations: 33.7 kB / 0.6166 GB, free: 6.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.6842, allocations: 235.5 kB / 0.6169 GB, free: 6.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.6842, allocations: 47.28 kB / 0.6169 GB, free: 6.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.6843, allocations: 59.2 kB / 0.617 GB, free: 6.348 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.6845, allocations: 354.8 kB / 0.6173 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.6847, allocations: 83.94 kB / 0.6174 GB, free: 5.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.685, allocations: 161.4 kB / 0.6175 GB, free: 5.719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.6854, allocations: 259.9 kB / 0.6178 GB, free: 5.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6854, allocations: 0 / 0.6178 GB, free: 5.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005569/0.686, allocations: 315.2 kB / 0.6181 GB, free: 5.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.686, allocations: 8 kB / 0.6181 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6861, allocations: 4 kB / 0.6181 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.6861, allocations: 7.984 kB / 0.6181 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6863, allocations: 55.92 kB / 0.6182 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.6863, allocations: 15.86 kB / 0.6182 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.6866, allocations: 51.61 kB / 0.6182 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.6867, allocations: 12 kB / 0.6182 GB, free: 4.969 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.6868, allocations: 161.8 kB / 0.6184 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.6869, allocations: 43.52 kB / 0.6184 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.6874, allocations: 232.8 kB / 0.6186 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.6875, allocations: 4.75 kB / 0.6187 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6875, allocations: 3.938 kB / 0.6187 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.6875, allocations: 4 kB / 0.6187 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.6885, allocations: 0.7144 MB / 0.6194 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6886, allocations: 8.188 kB / 0.6194 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.6887, allocations: 27.97 kB / 0.6194 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6888, allocations: 4 kB / 0.6194 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.6888, allocations: 9 kB / 0.6194 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6888, allocations: 4.688 kB / 0.6194 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6888, allocations: 4 kB / 0.6194 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.6895, allocations: 440 kB / 0.6198 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.6897, allocations: 148.6 kB / 0.62 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.6898, allocations: 4 kB / 0.62 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.6901, allocations: 31.97 kB / 0.62 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.6902, allocations: 12.92 kB / 0.62 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.6902, allocations: 15.98 kB / 0.62 GB, free: 2.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.6905, allocations: 308.4 kB / 0.6203 GB, free: 2.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6905, allocations: 4 kB / 0.6203 GB, free: 2.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.691, allocations: 111.8 kB / 0.6204 GB, free: 2.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senDyn.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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004957/0.6915, allocations: 165.7 kB / 0.6206 GB, free: 2.402 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.692, allocations: 204.2 kB / 0.6208 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.692, allocations: 0 / 0.6208 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.6922, allocations: 84.59 kB / 0.6209 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.6935, allocations: 253.4 kB / 0.6211 GB, free: 1.895 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.6948, allocations: 0.8547 MB / 0.6219 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.6953, allocations: 0.8074 MB / 0.6227 GB, free: 180 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003324/0.6956, allocations: 84.48 kB / 0.6228 GB, free: 96 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.6957, allocations: 31.44 kB / 0.6228 GB, free: 64 kB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6957, allocations: 0 / 0.6228 GB, free: 64 kB / 494.1 MB Notification: Performance of Templates: time 0.01585/0.7115, allocations: 8.193 MB / 0.6308 GB, free: 8.023 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)