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.006802/0.006802, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001319/0.001319, allocations: 203.9 kB / 16.68 MB, free: 5.969 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.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2792/0.2792, allocations: 54.97 MB / 324.9 MB, free: 4.852 MB / 270.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.001816/0.001816, allocations: 75.83 kB / 456.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1708, allocations: 59.6 MB / 0.5037 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5967/0.7675, allocations: 167.4 MB / 0.6672 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002951/0.7705, allocations: 1.511 MB / 0.6686 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.7708, allocations: 11.88 kB / 0.6687 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008731/0.7718, allocations: 234.5 kB / 0.6689 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.7732, allocations: 0.587 MB / 0.6695 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.775, allocations: 0.6953 MB / 0.6701 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.7766, allocations: 1.045 MB / 0.6712 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005504/0.7772, allocations: 316.9 kB / 0.6715 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.7783, allocations: 0.5214 MB / 0.672 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.7787, allocations: 326.8 kB / 0.6723 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.7788, allocations: 40 kB / 0.6723 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.78, allocations: 0.6509 MB / 0.673 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.7802, allocations: 175.6 kB / 0.6731 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.7805, allocations: 262.9 kB / 0.6734 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.7817, allocations: 0.9009 MB / 0.6743 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7817, allocations: 0 / 0.6743 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7817, allocations: 0 / 0.6743 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.7817, allocations: 0 / 0.6743 GB, free: 2.219 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001331/0.7831, allocations: 0.786 MB / 0.675 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.7831, allocations: 12.03 kB / 0.675 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.7843, allocations: 147.6 kB / 0.6752 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.7849, allocations: 375.1 kB / 0.6755 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.7849, allocations: 29 kB / 0.6756 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.785, allocations: 28 kB / 0.6756 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/0.7858, allocations: 427 kB / 0.676 GB, free: 340 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.7858, allocations: 7.875 kB / 0.676 GB, free: 332 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.7858, allocations: 12 kB / 0.676 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.7859, allocations: 8 kB / 0.676 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.7865, allocations: 315.8 kB / 0.6763 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.7885, allocations: 1.486 MB / 0.6778 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.7888, allocations: 130.5 kB / 0.6779 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.789, allocations: 76.81 kB / 0.678 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/0.7893, allocations: 125 kB / 0.6781 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.7894, allocations: 34.56 kB / 0.6781 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.7894, allocations: 0 / 0.6781 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.000657/0.79, allocations: 269.6 kB / 0.6784 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.7901, allocations: 55.34 kB / 0.6784 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.7905, allocations: 449.8 kB / 0.6789 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.7906, allocations: 29.7 kB / 0.6789 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.7907, allocations: 228 kB / 0.6791 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.7908, allocations: 59.52 kB / 0.6792 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/0.7909, allocations: 57.66 kB / 0.6792 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7911, allocations: 350.7 kB / 0.6795 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.7913, allocations: 83.94 kB / 0.6796 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.7915, allocations: 170.2 kB / 0.6798 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.7919, allocations: 250.5 kB / 0.68 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7919, allocations: 7.938 kB / 0.68 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005492/0.7925, allocations: 314 kB / 0.6803 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.7925, allocations: 8 kB / 0.6803 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.7925, allocations: 4 kB / 0.6803 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.7926, allocations: 4.25 kB / 0.6804 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.7928, allocations: 59.91 kB / 0.6804 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.7928, allocations: 7.938 kB / 0.6804 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.7931, allocations: 51.55 kB / 0.6805 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.7931, allocations: 12 kB / 0.6805 GB, free: 11.45 MB / 0.5294 GB 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.0001715/0.7933, allocations: 170.5 kB / 0.6806 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.7934, allocations: 43.7 kB / 0.6807 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.7939, allocations: 233.4 kB / 0.6809 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.7939, allocations: 0 / 0.6809 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7939, allocations: 0 / 0.6809 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.7939, allocations: 8.812 kB / 0.6809 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/0.7948, allocations: 0.7199 MB / 0.6816 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7949, allocations: 0 / 0.6816 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.795, allocations: 31.97 kB / 0.6816 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.795, allocations: 4 kB / 0.6817 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.7951, allocations: 4 kB / 0.6817 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7951, allocations: 6.25 kB / 0.6817 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7951, allocations: 4 kB / 0.6817 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.7958, allocations: 452.3 kB / 0.6821 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.796, allocations: 144.9 kB / 0.6822 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.796, allocations: 11.98 kB / 0.6822 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.7963, allocations: 15.98 kB / 0.6823 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.7964, allocations: 11.98 kB / 0.6823 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.7964, allocations: 15.98 kB / 0.6823 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003101/0.7968, allocations: 307.1 kB / 0.6826 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7968, allocations: 4 kB / 0.6826 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004744/0.7972, allocations: 119.9 kB / 0.6827 GB, free: 9.039 MB / 0.5294 GB 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.0005785/0.7978, allocations: 162 kB / 0.6829 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005831/0.7984, allocations: 207.7 kB / 0.6831 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7984, allocations: 0 / 0.6831 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.7987, allocations: 84.77 kB / 0.6831 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.8, allocations: 249.8 kB / 0.6834 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.8016, allocations: 0.7392 MB / 0.6841 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.8021, allocations: 0.8113 MB / 0.6849 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003202/0.8024, allocations: 83.3 kB / 0.685 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.8025, allocations: 35.38 kB / 0.685 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of SimCode: time 2.01e-07/0.8025, allocations: 0 / 0.685 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of Templates: time 0.01469/0.8172, allocations: 8.325 MB / 0.6931 GB, free: 14.4 MB / 0.545 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)