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.001087/0.001087, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001082/0.001082, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3914/0.3914, allocations: 54.98 MB / 325.4 MB, free: 0.7812 MB / 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.0005561/0.0005564, allocations: 16 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3342, allocations: 60.71 MB / 457.3 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1594/0.4937, allocations: 141.8 MB / 0.5851 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.5007, allocations: 5.236 MB / 0.5902 GB, free: 4.238 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.5013, allocations: 12.69 kB / 0.5902 GB, free: 4.227 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007466/0.502, allocations: 191.1 kB / 0.5904 GB, free: 4.039 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.5038, allocations: 0.6036 MB / 0.591 GB, free: 3.434 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.5053, allocations: 0.4935 MB / 0.5915 GB, free: 2.949 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.5063, allocations: 0.6138 MB / 0.5921 GB, free: 2.336 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006486/0.5069, allocations: 320.4 kB / 0.5924 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.5087, allocations: 0.6582 MB / 0.593 GB, free: 1.359 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008184/0.5095, allocations: 378.9 kB / 0.5934 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.5096, allocations: 28.94 kB / 0.5934 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.5106, allocations: 443.3 kB / 0.5938 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.5108, allocations: 159.6 kB / 0.594 GB, free: 380 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.511, allocations: 117.5 kB / 0.5941 GB, free: 256 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.5117, allocations: 0.6282 MB / 0.5947 GB, free: 15.63 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.5117, allocations: 0 / 0.5947 GB, free: 15.63 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5117, allocations: 0 / 0.5947 GB, free: 15.63 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.5118, allocations: 0 / 0.5947 GB, free: 15.63 MB / 478.1 MB 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.001242/0.513, allocations: 0.7152 MB / 0.5954 GB, free: 14.87 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5131, allocations: 8.031 kB / 0.5954 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.5141, allocations: 145.5 kB / 0.5955 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.5147, allocations: 359.1 kB / 0.5959 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.5149, allocations: 62.66 kB / 0.5959 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/0.5149, allocations: 43.91 kB / 0.596 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008475/0.5158, allocations: 467.2 kB / 0.5964 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5158, allocations: 0 / 0.5964 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.5159, allocations: 20.94 kB / 0.5964 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5159, allocations: 8 kB / 0.5965 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.5166, allocations: 411.7 kB / 0.5968 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.5191, allocations: 1.539 MB / 0.5984 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.5195, allocations: 226.6 kB / 0.5986 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/0.5199, allocations: 141.4 kB / 0.5987 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.52, allocations: 42.52 kB / 0.5987 GB, free: 11.24 MB / 478.1 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.52, allocations: 0 / 0.5987 GB, free: 11.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009436/0.5209, allocations: 439.5 kB / 0.5992 GB, free: 10.81 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.521, allocations: 55.41 kB / 0.5992 GB, free: 10.74 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.5214, allocations: 426.8 kB / 0.5996 GB, free: 10.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.5215, allocations: 37.64 kB / 0.5997 GB, free: 10.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.5216, allocations: 220.1 kB / 0.5999 GB, free: 10.06 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.5217, allocations: 71 kB / 0.5999 GB, free: 9.988 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.5217, allocations: 8 kB / 0.5999 GB, free: 9.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5219, allocations: 350.8 kB / 0.6003 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.5222, allocations: 128.5 kB / 0.6004 GB, free: 9.504 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.5225, allocations: 197.6 kB / 0.6006 GB, free: 9.281 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.5229, allocations: 162.1 kB / 0.6007 GB, free: 9.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5229, allocations: 0 / 0.6007 GB, free: 9.125 MB / 478.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008013/0.5237, allocations: 410.3 kB / 0.6011 GB, free: 8.719 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5237, allocations: 11.95 kB / 0.6011 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5237, allocations: 2.25 kB / 0.6011 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5237, allocations: 8 kB / 0.6012 GB, free: 8.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.5241, allocations: 63.89 kB / 0.6012 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5241, allocations: 7.938 kB / 0.6012 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.5244, allocations: 59.58 kB / 0.6013 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.5245, allocations: 12 kB / 0.6013 GB, free: 8.559 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.5247, allocations: 177.7 kB / 0.6015 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5248, allocations: 39.53 kB / 0.6015 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008531/0.5257, allocations: 407.5 kB / 0.6019 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5257, allocations: 0 / 0.6019 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5257, allocations: 7.984 kB / 0.6019 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5257, allocations: 0 / 0.6019 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.5272, allocations: 0.9101 MB / 0.6028 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5272, allocations: 4.188 kB / 0.6028 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.5275, allocations: 52.97 kB / 0.6028 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/0.5275, allocations: 4 kB / 0.6028 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.5276, allocations: 7.984 kB / 0.6029 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5276, allocations: 7.938 kB / 0.6029 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5276, allocations: 0 / 0.6029 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.5286, allocations: 0.7067 MB / 0.6035 GB, free: 6.094 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.5289, allocations: 168.5 kB / 0.6037 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.5289, allocations: 12 kB / 0.6037 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.5294, allocations: 32.84 kB / 0.6038 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.5295, allocations: 19.98 kB / 0.6038 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.5296, allocations: 27.92 kB / 0.6038 GB, free: 5.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003843/0.53, allocations: 307.1 kB / 0.6041 GB, free: 5.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.53, allocations: 0 / 0.6041 GB, free: 5.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006081/0.5306, allocations: 151.8 kB / 0.6042 GB, free: 5.371 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005935/0.5312, allocations: 214.5 kB / 0.6044 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.5319, allocations: 311.4 kB / 0.6047 GB, free: 4.863 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5319, allocations: 0 / 0.6047 GB, free: 4.863 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.5321, allocations: 152.6 kB / 0.6049 GB, free: 4.715 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5333, allocations: 226.5 kB / 0.6051 GB, free: 4.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.5349, allocations: 1.036 MB / 0.6061 GB, free: 3.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.5353, allocations: 0.8347 MB / 0.6069 GB, free: 2.562 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004279/0.5358, allocations: 115.9 kB / 0.607 GB, free: 2.453 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.5359, allocations: 39.42 kB / 0.6071 GB, free: 2.414 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5359, allocations: 0 / 0.6071 GB, free: 2.414 MB / 478.1 MB Notification: Performance of Templates: time 0.01542/0.5513, allocations: 9.41 MB / 0.6163 GB, free: 9.133 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: