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.000926/0.000926, allocations: 99 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.001014/0.001014, allocations: 177.3 kB / 15.94 MB, free: 228 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.495/1.495, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3823/0.3823, allocations: 54.98 MB / 325.3 MB, free: 0.6836 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.0006251/0.0006252, allocations: 16 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3207, allocations: 60.72 MB / 457.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.VolumeFlowRate): time 0.15/0.4707, allocations: 140.2 MB / 0.5835 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.4734, allocations: 1.541 MB / 0.585 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.4736, allocations: 7.938 kB / 0.585 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.4742, allocations: 175.2 kB / 0.5851 GB, free: 9.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009686/0.4752, allocations: 422.8 kB / 0.5855 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.4764, allocations: 470.2 kB / 0.586 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007672/0.4772, allocations: 0.5861 MB / 0.5866 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.4777, allocations: 256 kB / 0.5868 GB, free: 7.727 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.4788, allocations: 0.4985 MB / 0.5873 GB, free: 7.227 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.4791, allocations: 219.2 kB / 0.5875 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.4792, allocations: 20.56 kB / 0.5875 GB, free: 6.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000728/0.4799, allocations: 303.5 kB / 0.5878 GB, free: 6.695 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.4801, allocations: 147.6 kB / 0.588 GB, free: 6.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4802, allocations: 113.5 kB / 0.5881 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000683/0.4809, allocations: 0.5425 MB / 0.5886 GB, free: 5.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4809, allocations: 4 kB / 0.5886 GB, free: 5.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4809, allocations: 0.8438 kB / 0.5886 GB, free: 5.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.481, allocations: 0 / 0.5886 GB, free: 5.898 MB / 462.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.001168/0.4821, allocations: 0.684 MB / 0.5893 GB, free: 5.168 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4822, allocations: 8.031 kB / 0.5893 GB, free: 5.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.4833, allocations: 155.3 kB / 0.5894 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.4838, allocations: 344.8 kB / 0.5898 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.4839, allocations: 28.98 kB / 0.5898 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.4839, allocations: 36 kB / 0.5898 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.4847, allocations: 427.8 kB / 0.5902 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4848, allocations: 0 / 0.5902 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.4848, allocations: 16 kB / 0.5902 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.4848, allocations: 8 kB / 0.5902 GB, free: 4.113 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.4855, allocations: 315.7 kB / 0.5905 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.4876, allocations: 1.498 MB / 0.592 GB, free: 2.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.4879, allocations: 138.5 kB / 0.5921 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.4883, allocations: 125 kB / 0.5923 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4883, allocations: 38.56 kB / 0.5923 GB, free: 1.855 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.4883, allocations: 1.969 kB / 0.5923 GB, free: 1.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006712/0.489, allocations: 278.3 kB / 0.5926 GB, free: 1.578 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.489, allocations: 59.41 kB / 0.5926 GB, free: 1.508 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.4895, allocations: 441.7 kB / 0.593 GB, free: 1.066 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.4896, allocations: 33.7 kB / 0.5931 GB, free: 1.027 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.4897, allocations: 227.5 kB / 0.5933 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.4898, allocations: 51.28 kB / 0.5933 GB, free: 0.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.4898, allocations: 8 kB / 0.5934 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.49, allocations: 346.8 kB / 0.5937 GB, free: 404 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.4902, allocations: 91.94 kB / 0.5938 GB, free: 312 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.4904, allocations: 162.6 kB / 0.5939 GB, free: 116 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.4907, allocations: 107.9 kB / 0.594 GB, free: 8 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/0.4907, allocations: 8.188 kB / 0.594 GB, free: 16 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005766/0.4913, allocations: 328.6 kB / 0.5943 GB, free: 15.67 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4913, allocations: 8.25 kB / 0.5944 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4913, allocations: 4.75 kB / 0.5944 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4913, allocations: 4 kB / 0.5944 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.4916, allocations: 63.91 kB / 0.5944 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4916, allocations: 7.938 kB / 0.5944 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.4919, allocations: 55.52 kB / 0.5945 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.492, allocations: 8 kB / 0.5945 GB, free: 15.52 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.4922, allocations: 171 kB / 0.5947 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.4922, allocations: 47.48 kB / 0.5947 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/0.4928, allocations: 234.7 kB / 0.5949 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4928, allocations: 0 / 0.5949 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4928, allocations: 0 / 0.5949 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4928, allocations: 7.984 kB / 0.5949 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.4938, allocations: 0.7302 MB / 0.5956 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4938, allocations: 4 kB / 0.5957 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.494, allocations: 36.92 kB / 0.5957 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.494, allocations: 4.188 kB / 0.5957 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4941, allocations: 4 kB / 0.5957 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4941, allocations: 4 kB / 0.5957 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4941, allocations: 4 kB / 0.5957 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/0.4948, allocations: 0.5204 MB / 0.5962 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.495, allocations: 148.6 kB / 0.5964 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.4951, allocations: 4 kB / 0.5964 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.4954, allocations: 37.16 kB / 0.5964 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.4955, allocations: 19.92 kB / 0.5964 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.4955, allocations: 12 kB / 0.5964 GB, free: 13.37 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003061/0.4958, allocations: 307.9 kB / 0.5967 GB, free: 13.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.4958, allocations: 0 / 0.5967 GB, free: 13.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.4963, allocations: 115.8 kB / 0.5968 GB, free: 12.96 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003835/0.4967, allocations: 154.5 kB / 0.597 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004627/0.4972, allocations: 216.2 kB / 0.5972 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4972, allocations: 0 / 0.5972 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.4974, allocations: 92.77 kB / 0.5973 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.4985, allocations: 232.5 kB / 0.5975 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.4996, allocations: 0.86 MB / 0.5983 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.5, allocations: 0.8194 MB / 0.5991 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.5003, allocations: 84.86 kB / 0.5992 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.5004, allocations: 31.44 kB / 0.5992 GB, free: 10.44 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5004, allocations: 0 / 0.5992 GB, free: 10.44 MB / 478.1 MB Notification: Performance of Templates: time 0.01305/0.5134, allocations: 7.607 MB / 0.6067 GB, free: 2.965 MB / 478.1 MB 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: