Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Annex60.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001542/0.001542, allocations: 168.7 kB / 15.95 MB, free: 204 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.928/1.928, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4242/0.4242, allocations: 55.02 MB / 325.4 MB, free: 0.668 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.0006132/0.0006134, allocations: 12 kB / 396.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4491, allocations: 60.73 MB / 457.4 MB, free: 39.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEntropy): time 0.2146/0.6638, allocations: 148.3 MB / 0.5914 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005383/0.6692, allocations: 4.226 MB / 0.5956 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.6695, allocations: 8.875 kB / 0.5956 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.67, allocations: 139.1 kB / 0.5957 GB, free: 14.74 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001535/0.6716, allocations: 0.521 MB / 0.5962 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.6732, allocations: 0.5839 MB / 0.5968 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.6743, allocations: 1.084 MB / 0.5978 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.6747, allocations: 231.6 kB / 0.5981 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.6757, allocations: 0.4941 MB / 0.5985 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005454/0.6763, allocations: 358.8 kB / 0.5989 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.6764, allocations: 20 kB / 0.5989 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.6776, allocations: 0.5223 MB / 0.5994 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.6777, allocations: 147.5 kB / 0.5996 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.838e-05/0.6778, allocations: 109.5 kB / 0.5997 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.6785, allocations: 0.604 MB / 0.6003 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.6785, allocations: 0 / 0.6003 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6786, allocations: 0 / 0.6003 GB, free: 10.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.6786, allocations: 4 kB / 0.6003 GB, free: 10.07 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001086/0.6797, allocations: 0.6566 MB / 0.6009 GB, free: 9.367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.6797, allocations: 8.031 kB / 0.6009 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007323/0.6804, allocations: 101.2 kB / 0.601 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.6809, allocations: 324 kB / 0.6013 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.681, allocations: 28.19 kB / 0.6013 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.681, allocations: 36 kB / 0.6014 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.6818, allocations: 433.8 kB / 0.6018 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6818, allocations: 0 / 0.6018 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.6818, allocations: 12 kB / 0.6018 GB, free: 8.395 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.6818, allocations: 11.95 kB / 0.6018 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.6825, allocations: 358.3 kB / 0.6022 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.6848, allocations: 1.538 MB / 0.6037 GB, free: 6.383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.6851, allocations: 102.5 kB / 0.6038 GB, free: 6.273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.6852, allocations: 68.81 kB / 0.6038 GB, free: 6.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.6859, allocations: 343.2 kB / 0.6041 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.686, allocations: 42.69 kB / 0.6042 GB, free: 5.762 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.686, allocations: 4 kB / 0.6042 GB, free: 5.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006556/0.6867, allocations: 257 kB / 0.6044 GB, free: 5.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.6867, allocations: 51.41 kB / 0.6045 GB, free: 5.438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.6872, allocations: 433.6 kB / 0.6049 GB, free: 5.008 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.6872, allocations: 29.7 kB / 0.6049 GB, free: 4.973 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.6874, allocations: 219.5 kB / 0.6051 GB, free: 4.754 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.6874, allocations: 35.45 kB / 0.6052 GB, free: 4.719 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.6874, allocations: 8 kB / 0.6052 GB, free: 4.711 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.6875, allocations: 343.2 kB / 0.6055 GB, free: 4.367 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.6878, allocations: 99.92 kB / 0.6056 GB, free: 4.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.688, allocations: 197.7 kB / 0.6058 GB, free: 4.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.6882, allocations: 121.7 kB / 0.6059 GB, free: 3.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6882, allocations: 7.938 kB / 0.6059 GB, free: 3.902 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006295/0.6889, allocations: 348.8 kB / 0.6062 GB, free: 3.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.6889, allocations: 11.94 kB / 0.6063 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6889, allocations: 4 kB / 0.6063 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.6889, allocations: 8.406 kB / 0.6063 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.6892, allocations: 63.91 kB / 0.6063 GB, free: 3.469 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.6892, allocations: 8 kB / 0.6063 GB, free: 3.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.6895, allocations: 51.52 kB / 0.6064 GB, free: 3.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.6896, allocations: 12 kB / 0.6064 GB, free: 3.398 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (29): * Single equations (assignments): 29 * 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.000165/0.6897, allocations: 174.3 kB / 0.6066 GB, free: 3.219 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.6898, allocations: 31.62 kB / 0.6066 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.6903, allocations: 212.2 kB / 0.6068 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6903, allocations: 1.375 kB / 0.6068 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6903, allocations: 4 kB / 0.6068 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6904, allocations: 0 / 0.6068 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.691, allocations: 0.5585 MB / 0.6073 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.691, allocations: 0 / 0.6073 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.6912, allocations: 23.92 kB / 0.6074 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6912, allocations: 3.938 kB / 0.6074 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6912, allocations: 9.688 kB / 0.6074 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6912, allocations: 0 / 0.6074 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6912, allocations: 3.938 kB / 0.6074 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.6917, allocations: 309.5 kB / 0.6077 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.6919, allocations: 144.6 kB / 0.6078 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.6919, allocations: 4 kB / 0.6078 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.6922, allocations: 20.05 kB / 0.6078 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.6923, allocations: 12.08 kB / 0.6079 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.6923, allocations: 11.97 kB / 0.6079 GB, free: 1.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003243/0.6926, allocations: 335 kB / 0.6082 GB, free: 1.445 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6926, allocations: 4 kB / 0.6082 GB, free: 1.441 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005178/0.6932, allocations: 131.8 kB / 0.6083 GB, free: 1.312 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (senStr.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 (7): * Single equations (assignments): 7 * 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.0004399/0.6936, allocations: 197.3 kB / 0.6085 GB, free: 1.121 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004187/0.694, allocations: 184.5 kB / 0.6087 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6941, allocations: 4.062 kB / 0.6087 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.6942, allocations: 51.91 kB / 0.6087 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/0.6951, allocations: 179.1 kB / 0.6089 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.696, allocations: 0.7295 MB / 0.6096 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.6964, allocations: 0.7921 MB / 0.6104 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003181/0.6967, allocations: 76.94 kB / 0.6105 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.6968, allocations: 31.44 kB / 0.6105 GB, free: 15.04 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6968, allocations: 4 kB / 0.6105 GB, free: 15.03 MB / 494.1 MB Notification: Performance of Templates: time 0.01295/0.7098, allocations: 7.567 MB / 0.6179 GB, free: 7.57 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: