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.005574/0.005574, allocations: 102.5 kB / 15.73 MB, free: 6.492 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.001326/0.001326, allocations: 192 kB / 16.67 MB, free: 6.379 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.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3935/0.3935, allocations: 54.94 MB / 324.8 MB, free: 52 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.001572/0.001572, allocations: 73.05 kB / 456.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1384, allocations: 59.59 MB / 0.5038 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.VolumeFlowRate): time 0.577/0.7154, allocations: 167.4 MB / 0.6672 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00312/0.7186, allocations: 1.5 MB / 0.6687 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004683/0.7191, allocations: 9.469 kB / 0.6687 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009165/0.7201, allocations: 236.4 kB / 0.6689 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.7217, allocations: 0.5982 MB / 0.6695 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.7235, allocations: 0.693 MB / 0.6702 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.7247, allocations: 1.04 MB / 0.6712 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00045/0.7251, allocations: 323 kB / 0.6715 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.7262, allocations: 0.5211 MB / 0.672 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.7266, allocations: 321.7 kB / 0.6723 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.7267, allocations: 41.81 kB / 0.6724 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.728, allocations: 0.649 MB / 0.673 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.7282, allocations: 190 kB / 0.6732 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.7285, allocations: 255.2 kB / 0.6734 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.7298, allocations: 0.898 MB / 0.6743 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7298, allocations: 0 / 0.6743 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7298, allocations: 0 / 0.6743 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.7298, allocations: 0 / 0.6743 GB, free: 15.87 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.001753/0.7316, allocations: 0.775 MB / 0.675 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.7317, allocations: 11.55 kB / 0.6751 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.7329, allocations: 146.2 kB / 0.6752 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/0.7336, allocations: 369.8 kB / 0.6755 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.7336, allocations: 28.5 kB / 0.6756 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.7337, allocations: 30.84 kB / 0.6756 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.7345, allocations: 423.1 kB / 0.676 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.7346, allocations: 7.938 kB / 0.676 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.7346, allocations: 12.81 kB / 0.676 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.7346, allocations: 11 kB / 0.676 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.7353, allocations: 308.9 kB / 0.6763 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.7376, allocations: 1.482 MB / 0.6778 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.7379, allocations: 127.2 kB / 0.6779 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.7381, allocations: 83.56 kB / 0.678 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/0.7384, allocations: 117 kB / 0.6781 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.7385, allocations: 35.69 kB / 0.6781 GB, free: 14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.405e-06/0.7385, allocations: 2.344 kB / 0.6781 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006824/0.7392, allocations: 266.4 kB / 0.6784 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.7392, allocations: 56.73 kB / 0.6784 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.7397, allocations: 444 kB / 0.6789 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.7398, allocations: 31.89 kB / 0.6789 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.7399, allocations: 241.7 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.74, allocations: 50.77 kB / 0.6792 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.7401, allocations: 54.28 kB / 0.6792 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7403, allocations: 347.9 kB / 0.6796 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.7405, allocations: 82.42 kB / 0.6796 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.7407, allocations: 167 kB / 0.6798 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.7411, allocations: 255.9 kB / 0.68 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7411, allocations: 6.5 kB / 0.68 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005488/0.7417, allocations: 316 kB / 0.6803 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7417, allocations: 7.688 kB / 0.6804 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7417, allocations: 3.188 kB / 0.6804 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.7418, allocations: 2.375 kB / 0.6804 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.742, allocations: 56.59 kB / 0.6804 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.742, allocations: 7.75 kB / 0.6804 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.7423, allocations: 57.69 kB / 0.6805 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.7423, allocations: 11.12 kB / 0.6805 GB, free: 12.95 MB / 0.5137 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.0001838/0.7425, allocations: 167.5 kB / 0.6806 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/0.7426, allocations: 35.84 kB / 0.6807 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.7431, allocations: 231.5 kB / 0.6809 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7431, allocations: 0 / 0.6809 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.7431, allocations: 2.594 kB / 0.6809 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7432, allocations: 8.062 kB / 0.6809 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000998/0.7442, allocations: 0.721 MB / 0.6816 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7442, allocations: 3.312 kB / 0.6816 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.7444, allocations: 33.61 kB / 0.6816 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.7444, allocations: 3.406 kB / 0.6817 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.7444, allocations: 5.719 kB / 0.6817 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7444, allocations: 3.875 kB / 0.6817 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.7444, allocations: 4.281 kB / 0.6817 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.7451, allocations: 440.7 kB / 0.6821 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.7453, allocations: 150.1 kB / 0.6822 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.7454, allocations: 5.031 kB / 0.6822 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.7457, allocations: 18.41 kB / 0.6823 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.7458, allocations: 19.7 kB / 0.6823 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.7458, allocations: 13.47 kB / 0.6823 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003127/0.7461, allocations: 309.2 kB / 0.6826 GB, free: 12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7461, allocations: 0 / 0.6826 GB, free: 12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004883/0.7466, allocations: 113.3 kB / 0.6827 GB, free: 11.99 MB / 0.5137 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.0004628/0.7471, allocations: 169.5 kB / 0.6828 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.7476, allocations: 209.8 kB / 0.683 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7476, allocations: 0 / 0.683 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.7478, allocations: 90 kB / 0.6831 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.749, allocations: 241.1 kB / 0.6834 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.7502, allocations: 0.7205 MB / 0.6841 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.7506, allocations: 0.811 MB / 0.6849 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003044/0.7509, allocations: 82.36 kB / 0.6849 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.751, allocations: 31.12 kB / 0.685 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.751, allocations: 0 / 0.685 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.01675/0.7678, allocations: 8.293 MB / 0.6931 GB, free: 8.555 MB / 0.5137 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)