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.0007791/0.0007791, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005068/0.005068, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.446/1.446, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4075/0.4075, allocations: 55.02 MB / 325.8 MB, free: 0.6016 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.0005967/0.0005967, allocations: 12 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4393, allocations: 60.72 MB / 458 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2085/0.6479, allocations: 163 MB / 0.6064 GB, free: 3.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.6511, allocations: 1.513 MB / 0.6079 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.6516, allocations: 11.94 kB / 0.6079 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009594/0.6526, allocations: 191 kB / 0.6081 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.6544, allocations: 0.5716 MB / 0.6086 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.6563, allocations: 0.6301 MB / 0.6092 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.6581, allocations: 1.454 MB / 0.6107 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.6587, allocations: 262.9 kB / 0.6109 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.66, allocations: 474.1 kB / 0.6114 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000708/0.6607, allocations: 335.3 kB / 0.6117 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.86e-05/0.6609, allocations: 20 kB / 0.6117 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.6623, allocations: 0.717 MB / 0.6124 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.6625, allocations: 159.5 kB / 0.6126 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.6629, allocations: 276.5 kB / 0.6128 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.664, allocations: 0.888 MB / 0.6137 GB, free: 12.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.664, allocations: 0 / 0.6137 GB, free: 12.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.664, allocations: 0.9375 kB / 0.6137 GB, free: 12.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.6641, allocations: 0 / 0.6137 GB, free: 12.46 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.001288/0.6653, allocations: 0.6917 MB / 0.6144 GB, free: 11.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.6654, allocations: 8.031 kB / 0.6144 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.6665, allocations: 151.3 kB / 0.6145 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.6671, allocations: 348.4 kB / 0.6148 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.6671, allocations: 25 kB / 0.6149 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.6672, allocations: 36 kB / 0.6149 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007874/0.668, allocations: 434.9 kB / 0.6153 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.668, allocations: 1.031 kB / 0.6153 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.6681, allocations: 16 kB / 0.6153 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.6681, allocations: 8 kB / 0.6153 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.6687, allocations: 327.7 kB / 0.6157 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.6709, allocations: 1.493 MB / 0.6171 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.6712, allocations: 134.5 kB / 0.6172 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.6714, allocations: 80.81 kB / 0.6173 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003946/0.6718, allocations: 133 kB / 0.6174 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.6718, allocations: 34.56 kB / 0.6175 GB, free: 8.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.6719, allocations: 0 / 0.6175 GB, free: 8.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006888/0.6725, allocations: 290.3 kB / 0.6178 GB, free: 8.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.6726, allocations: 56.06 kB / 0.6178 GB, free: 7.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.6731, allocations: 445.8 kB / 0.6182 GB, free: 7.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.6731, allocations: 25.7 kB / 0.6183 GB, free: 7.488 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.6733, allocations: 239.5 kB / 0.6185 GB, free: 7.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.6734, allocations: 55.28 kB / 0.6185 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.6735, allocations: 21.72 kB / 0.6186 GB, free: 7.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.6737, allocations: 350.8 kB / 0.6189 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.6739, allocations: 93 kB / 0.619 GB, free: 6.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.6742, allocations: 173.3 kB / 0.6191 GB, free: 6.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.6746, allocations: 264.1 kB / 0.6194 GB, free: 6.234 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6746, allocations: 0 / 0.6194 GB, free: 6.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006431/0.6753, allocations: 331.7 kB / 0.6197 GB, free: 5.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6753, allocations: 4 kB / 0.6197 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6753, allocations: 7.938 kB / 0.6197 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6754, allocations: 4 kB / 0.6197 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.6756, allocations: 63.91 kB / 0.6198 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.6756, allocations: 7.938 kB / 0.6198 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.6759, allocations: 55.64 kB / 0.6199 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.6759, allocations: 11.98 kB / 0.6199 GB, free: 5.758 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.0001778/0.6761, allocations: 162.6 kB / 0.62 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.6762, allocations: 43.53 kB / 0.6201 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.6767, allocations: 244.8 kB / 0.6203 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.6767, allocations: 4 kB / 0.6203 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.6768, allocations: 3.938 kB / 0.6203 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6768, allocations: 0 / 0.6203 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.6779, allocations: 0.7295 MB / 0.621 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6779, allocations: 192 / 0.621 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.6781, allocations: 35.92 kB / 0.6211 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6781, allocations: 5.781 kB / 0.6211 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.6781, allocations: 8 kB / 0.6211 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.6781, allocations: 3.984 kB / 0.6211 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6781, allocations: 4 kB / 0.6211 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007334/0.6789, allocations: 460 kB / 0.6215 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.6791, allocations: 148.6 kB / 0.6217 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.6791, allocations: 4 kB / 0.6217 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.6795, allocations: 27.91 kB / 0.6217 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.6795, allocations: 19.98 kB / 0.6217 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.6796, allocations: 17.3 kB / 0.6217 GB, free: 3.715 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003263/0.6799, allocations: 315.1 kB / 0.622 GB, free: 3.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6799, allocations: 0 / 0.622 GB, free: 3.414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004476/0.6804, allocations: 111.8 kB / 0.6221 GB, free: 3.305 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.0004136/0.6808, allocations: 165.5 kB / 0.6223 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.6813, allocations: 216.8 kB / 0.6225 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.6813, allocations: 4 kB / 0.6225 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.6815, allocations: 87.89 kB / 0.6226 GB, free: 2.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6828, allocations: 232.5 kB / 0.6228 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.6841, allocations: 0.8917 MB / 0.6237 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.6845, allocations: 0.8116 MB / 0.6245 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003331/0.6849, allocations: 82.89 kB / 0.6245 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.685, allocations: 35.38 kB / 0.6246 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of SimCode: time 6.32e-07/0.685, allocations: 0 / 0.6246 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of Templates: time 0.01523/0.7002, allocations: 7.877 MB / 0.6323 GB, free: 8.996 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: