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.01172/0.01172, allocations: 102 kB / 15.73 MB, free: 6.051 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.002421/0.002421, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.789/1.789, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2803/0.2803, allocations: 54.97 MB / 324.9 MB, free: 4.82 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.001688/0.001688, allocations: 67.91 kB / 456.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1305, allocations: 59.59 MB / 0.5037 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4756/0.6062, allocations: 167.4 MB / 0.6672 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.6094, allocations: 1.512 MB / 0.6687 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.6098, allocations: 7.938 kB / 0.6687 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008431/0.6107, allocations: 238.5 kB / 0.6689 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.6125, allocations: 0.622 MB / 0.6695 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.6142, allocations: 0.689 MB / 0.6702 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.6157, allocations: 1.053 MB / 0.6712 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.6163, allocations: 305.4 kB / 0.6715 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.6176, allocations: 0.5605 MB / 0.672 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005644/0.6182, allocations: 318.8 kB / 0.6723 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.6183, allocations: 40 kB / 0.6724 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.6196, allocations: 0.647 MB / 0.673 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.6199, allocations: 179.5 kB / 0.6732 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.6203, allocations: 262.9 kB / 0.6734 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.6216, allocations: 0.9026 MB / 0.6743 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6216, allocations: 0 / 0.6743 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6216, allocations: 0 / 0.6743 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.6216, allocations: 0 / 0.6743 GB, free: 2.156 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.001516/0.6232, allocations: 0.7717 MB / 0.6751 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.6232, allocations: 8.031 kB / 0.6751 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.6244, allocations: 155.3 kB / 0.6752 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.625, allocations: 366.9 kB / 0.6756 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.6251, allocations: 28.94 kB / 0.6756 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.6251, allocations: 35.98 kB / 0.6756 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/0.6259, allocations: 418.9 kB / 0.676 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.6259, allocations: 3.938 kB / 0.676 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.626, allocations: 16 kB / 0.6761 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.626, allocations: 11.98 kB / 0.6761 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.6267, allocations: 311.8 kB / 0.6764 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.629, allocations: 1.478 MB / 0.6778 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.6293, allocations: 134.5 kB / 0.6779 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.6295, allocations: 76.81 kB / 0.678 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.6299, allocations: 117 kB / 0.6781 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.6299, allocations: 38.55 kB / 0.6782 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.6299, allocations: 0 / 0.6782 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006774/0.6306, allocations: 273.3 kB / 0.6784 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.6307, allocations: 51.41 kB / 0.6785 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.6311, allocations: 449.7 kB / 0.6789 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.6312, allocations: 25.7 kB / 0.6789 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.6314, allocations: 235.5 kB / 0.6791 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.6314, allocations: 59.22 kB / 0.6792 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.6315, allocations: 53.62 kB / 0.6792 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6317, allocations: 346.8 kB / 0.6796 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.6319, allocations: 83.94 kB / 0.6797 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.6321, allocations: 174.2 kB / 0.6798 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.6326, allocations: 253.9 kB / 0.6801 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6326, allocations: 1.688 kB / 0.6801 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006101/0.6332, allocations: 317.1 kB / 0.6804 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6333, allocations: 4 kB / 0.6804 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6333, allocations: 4 kB / 0.6804 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6333, allocations: 4 kB / 0.6804 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.6335, allocations: 55.91 kB / 0.6804 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.6336, allocations: 4 kB / 0.6804 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.6338, allocations: 59.3 kB / 0.6805 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.6339, allocations: 15.94 kB / 0.6805 GB, free: 11.41 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.0001977/0.6341, allocations: 170.7 kB / 0.6807 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.6342, allocations: 36.44 kB / 0.6807 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.6347, allocations: 221.7 kB / 0.6809 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6347, allocations: 4 kB / 0.6809 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6347, allocations: 0 / 0.6809 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6347, allocations: 3.938 kB / 0.6809 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.6358, allocations: 0.7294 MB / 0.6816 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6358, allocations: 2.812 kB / 0.6816 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.636, allocations: 27.98 kB / 0.6817 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.636, allocations: 0 / 0.6817 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.636, allocations: 8.188 kB / 0.6817 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.636, allocations: 11.88 kB / 0.6817 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.636, allocations: 0 / 0.6817 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.6367, allocations: 448 kB / 0.6821 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.6369, allocations: 148.6 kB / 0.6823 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.637, allocations: 4 kB / 0.6823 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.6373, allocations: 15.98 kB / 0.6823 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.6374, allocations: 16.05 kB / 0.6823 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.6374, allocations: 19.98 kB / 0.6823 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003258/0.6377, allocations: 307.1 kB / 0.6826 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6377, allocations: 0 / 0.6826 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004748/0.6382, allocations: 111.8 kB / 0.6827 GB, free: 9.02 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.0004212/0.6387, allocations: 170.1 kB / 0.6829 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.6392, allocations: 200.2 kB / 0.6831 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.6392, allocations: 8.062 kB / 0.6831 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.6394, allocations: 83.83 kB / 0.6832 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.6407, allocations: 249.1 kB / 0.6834 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.6421, allocations: 0.7208 MB / 0.6841 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.6425, allocations: 0.8113 MB / 0.6849 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003359/0.6428, allocations: 91.52 kB / 0.685 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.6429, allocations: 31.44 kB / 0.685 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.6429, allocations: 0 / 0.685 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of Templates: time 0.01651/0.6594, allocations: 8.331 MB / 0.6931 GB, free: 14.39 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)