Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007863/0.007863, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001752/0.001752, allocations: 194.8 kB / 16.67 MB, free: 5.926 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.458/1.458, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4405/0.4405, allocations: 54.93 MB / 324.8 MB, free: 15.96 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.001374/0.001374, allocations: 76.98 kB / 456.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1563, allocations: 59.59 MB / 0.5037 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6676/0.824, allocations: 169.4 MB / 0.6692 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009022/0.8331, allocations: 7.111 MB / 0.6761 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008779/0.834, allocations: 13.73 kB / 0.6762 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.8352, allocations: 261 kB / 0.6764 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003804/0.8391, allocations: 1.195 MB / 0.6776 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.8414, allocations: 0.7196 MB / 0.6783 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00201/0.8434, allocations: 1.129 MB / 0.6794 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009113/0.8443, allocations: 391 kB / 0.6797 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.8468, allocations: 0.8157 MB / 0.6805 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.8482, allocations: 495.1 kB / 0.681 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.8484, allocations: 51.16 kB / 0.6811 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.8513, allocations: 1.03 MB / 0.6821 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004105/0.8517, allocations: 191.5 kB / 0.6823 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008135/0.8525, allocations: 279.2 kB / 0.6825 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.8559, allocations: 1.091 MB / 0.6836 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.856, allocations: 0 / 0.6836 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.856, allocations: 5.203 kB / 0.6836 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.272e-05/0.856, allocations: 0 / 0.6836 GB, free: 15.7 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002668/0.8587, allocations: 0.8302 MB / 0.6844 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.8588, allocations: 12.56 kB / 0.6844 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.86, allocations: 121 kB / 0.6845 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.8609, allocations: 389.3 kB / 0.6849 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.8611, allocations: 60.33 kB / 0.685 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.8612, allocations: 42.66 kB / 0.685 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.8626, allocations: 465.8 kB / 0.6854 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.8626, allocations: 1.203 kB / 0.6854 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/0.8627, allocations: 17.12 kB / 0.6855 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.8628, allocations: 10.06 kB / 0.6855 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.8639, allocations: 408.1 kB / 0.6859 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.8677, allocations: 1.537 MB / 0.6874 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.8684, allocations: 259 kB / 0.6876 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.8687, allocations: 132.9 kB / 0.6877 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008562/0.8696, allocations: 332.7 kB / 0.688 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/0.8696, allocations: 45.17 kB / 0.6881 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 3.697e-06/0.8697, allocations: 0 / 0.6881 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.001144/0.8708, allocations: 415.8 kB / 0.6885 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.8709, allocations: 55.03 kB / 0.6885 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.8715, allocations: 431 kB / 0.689 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.8716, allocations: 31.3 kB / 0.689 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.8718, allocations: 231.1 kB / 0.6892 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-05/0.8719, allocations: 72.11 kB / 0.6893 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.8721, allocations: 59.27 kB / 0.6893 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002341/0.8723, allocations: 354.1 kB / 0.6897 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.8726, allocations: 121.5 kB / 0.6898 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.873, allocations: 189.8 kB / 0.69 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.8736, allocations: 310 kB / 0.6903 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8736, allocations: 1.094 kB / 0.6903 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009408/0.8746, allocations: 397.7 kB / 0.6906 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.8746, allocations: 4.906 kB / 0.6906 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.8746, allocations: 2.531 kB / 0.6906 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/0.8746, allocations: 2.719 kB / 0.6906 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.875, allocations: 63 kB / 0.6907 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.875, allocations: 5.906 kB / 0.6907 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.8754, allocations: 51.22 kB / 0.6908 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.8755, allocations: 13.31 kB / 0.6908 GB, free: 12.76 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 33 * 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.0003062/0.8758, allocations: 173.5 kB / 0.6909 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.876, allocations: 43.44 kB / 0.691 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009547/0.877, allocations: 388.2 kB / 0.6914 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.877, allocations: 2.344 kB / 0.6914 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.877, allocations: 4.094 kB / 0.6914 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.877, allocations: 0 / 0.6914 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.8789, allocations: 0.891 MB / 0.6922 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.8789, allocations: 2.438 kB / 0.6922 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.8792, allocations: 42.14 kB / 0.6923 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.8792, allocations: 6.688 kB / 0.6923 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.8792, allocations: 12.64 kB / 0.6923 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.8792, allocations: 8.344 kB / 0.6923 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8793, allocations: 3.25 kB / 0.6923 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.8805, allocations: 0.609 MB / 0.6929 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.8809, allocations: 174 kB / 0.6931 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.881, allocations: 3 kB / 0.6931 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.8814, allocations: 27.77 kB / 0.6931 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.8815, allocations: 22.28 kB / 0.6931 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/0.8816, allocations: 22.27 kB / 0.6931 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004228/0.8821, allocations: 308.2 kB / 0.6934 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8821, allocations: 0 / 0.6934 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008364/0.8829, allocations: 160.2 kB / 0.6936 GB, free: 11.76 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senS_flow.s_out,senS.s) * 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 (21): * Single equations (assignments): 21 * 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.0009141/0.8838, allocations: 229.4 kB / 0.6938 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007059/0.8846, allocations: 300.4 kB / 0.6941 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.8846, allocations: 448 / 0.6941 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.8849, allocations: 148.5 kB / 0.6942 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.8863, allocations: 234.6 kB / 0.6945 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.8882, allocations: 0.8672 MB / 0.6953 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.8888, allocations: 0.8213 MB / 0.6961 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004879/0.8893, allocations: 108.1 kB / 0.6962 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.8894, allocations: 40.34 kB / 0.6962 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.8894, allocations: 4 kB / 0.6962 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.02181/0.9112, allocations: 10.14 MB / 0.7061 GB, free: 5.832 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)