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.009942/0.009942, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.00115/0.00115, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.424/1.424, allocations: 205.1 MB / 222.6 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.4132/0.4132, allocations: 54.94 MB / 324.8 MB, free: 32 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.001564/0.001564, allocations: 71 kB / 456.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1596, allocations: 59.6 MB / 0.5038 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6016/0.7612, allocations: 169.4 MB / 0.6692 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007149/0.7684, allocations: 7.115 MB / 0.6762 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.7689, allocations: 16.28 kB / 0.6762 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007924/0.7698, allocations: 252.2 kB / 0.6764 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.7723, allocations: 1.155 MB / 0.6776 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.7739, allocations: 0.7165 MB / 0.6783 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.775, allocations: 1.129 MB / 0.6794 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/0.7754, allocations: 395.3 kB / 0.6798 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.777, allocations: 0.7778 MB / 0.6805 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000903/0.7779, allocations: 497.5 kB / 0.681 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.626e-05/0.778, allocations: 44.47 kB / 0.681 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.7799, allocations: 1.027 MB / 0.682 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.7801, allocations: 190.6 kB / 0.6822 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.7804, allocations: 281.3 kB / 0.6825 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.7818, allocations: 1.099 MB / 0.6836 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7818, allocations: 2.844 kB / 0.6836 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7818, allocations: 0 / 0.6836 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.7818, allocations: 2.906 kB / 0.6836 GB, free: 15.65 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.001379/0.7832, allocations: 0.8425 MB / 0.6844 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.7832, allocations: 10.03 kB / 0.6844 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009181/0.7842, allocations: 125.9 kB / 0.6845 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.7847, allocations: 400.1 kB / 0.6849 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.7848, allocations: 62.05 kB / 0.685 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.7849, allocations: 34.28 kB / 0.685 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.7857, allocations: 464.4 kB / 0.6854 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.7857, allocations: 0 / 0.6854 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.7858, allocations: 20.31 kB / 0.6855 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.7858, allocations: 10.62 kB / 0.6855 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007118/0.7865, allocations: 410.9 kB / 0.6859 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.7889, allocations: 1.537 MB / 0.6874 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.7894, allocations: 265.2 kB / 0.6876 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.7896, allocations: 128.2 kB / 0.6877 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/0.7903, allocations: 333.4 kB / 0.688 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.7904, allocations: 43.44 kB / 0.6881 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.7904, allocations: 0 / 0.6881 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.000911/0.7913, allocations: 418 kB / 0.6885 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.7914, allocations: 53.19 kB / 0.6885 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.7918, allocations: 434.2 kB / 0.689 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.7919, allocations: 33.59 kB / 0.689 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.792, allocations: 225.2 kB / 0.6892 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.7921, allocations: 82.12 kB / 0.6893 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.7922, allocations: 59.31 kB / 0.6893 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7923, allocations: 354.7 kB / 0.6897 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.7926, allocations: 121.5 kB / 0.6898 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.7929, allocations: 186.8 kB / 0.69 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.7934, allocations: 318 kB / 0.6903 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7934, allocations: 0 / 0.6903 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006965/0.7941, allocations: 394 kB / 0.6906 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.7941, allocations: 8.5 kB / 0.6907 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7941, allocations: 1.203 kB / 0.6907 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.7942, allocations: 4.844 kB / 0.6907 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.7944, allocations: 63.33 kB / 0.6907 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.7945, allocations: 4.531 kB / 0.6907 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.7947, allocations: 50.52 kB / 0.6908 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.7948, allocations: 16.12 kB / 0.6908 GB, free: 12.67 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.0001826/0.795, allocations: 171.7 kB / 0.691 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.7951, allocations: 43.8 kB / 0.691 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007896/0.7959, allocations: 383.6 kB / 0.6914 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7959, allocations: 4.609 kB / 0.6914 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7959, allocations: 4 kB / 0.6914 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.796, allocations: 1.094 kB / 0.6914 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.7973, allocations: 0.8952 MB / 0.6922 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.7973, allocations: 7.062 kB / 0.6922 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.7975, allocations: 47.44 kB / 0.6923 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.7975, allocations: 6.75 kB / 0.6923 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.7976, allocations: 5.469 kB / 0.6923 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.7976, allocations: 4.188 kB / 0.6923 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7976, allocations: 2.625 kB / 0.6923 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/0.7985, allocations: 0.6107 MB / 0.6929 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.7988, allocations: 172.2 kB / 0.6931 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.7988, allocations: 6.312 kB / 0.6931 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.7992, allocations: 31.2 kB / 0.6931 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.7993, allocations: 17 kB / 0.6931 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/0.7994, allocations: 26.22 kB / 0.6931 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003014/0.7997, allocations: 303.6 kB / 0.6934 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.042e-06/0.7997, allocations: 2.438 kB / 0.6934 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000617/0.8003, allocations: 154.7 kB / 0.6936 GB, free: 11.67 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.0006058/0.8009, allocations: 226.3 kB / 0.6938 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006196/0.8016, allocations: 301.4 kB / 0.6941 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8016, allocations: 0 / 0.6941 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.8018, allocations: 150.8 kB / 0.6942 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.803, allocations: 230.5 kB / 0.6945 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.8045, allocations: 0.8868 MB / 0.6953 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.805, allocations: 0.8263 MB / 0.6961 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003659/0.8053, allocations: 111.1 kB / 0.6962 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.8054, allocations: 39.16 kB / 0.6963 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.603e-06/0.8055, allocations: 0 / 0.6963 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.01884/0.8243, allocations: 10.14 MB / 0.7062 GB, free: 5.707 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)