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.001546/0.001546, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001406/0.001406, allocations: 192.6 kB / 16.25 MB, free: 6.156 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.438/1.438, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4185/0.4185, allocations: 54.92 MB / 324.4 MB, free: 92 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.002418/0.002418, allocations: 67.91 kB / 394.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1626, allocations: 59.58 MB / 454.5 MB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4499/0.6125, allocations: 167.2 MB / 0.6071 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008938/0.6215, allocations: 7.061 MB / 0.614 GB, free: 9.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.6223, allocations: 15.88 kB / 0.614 GB, free: 9.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009323/0.6233, allocations: 214.9 kB / 0.6142 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.6266, allocations: 1.089 MB / 0.6153 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.6285, allocations: 0.671 MB / 0.6159 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.63, allocations: 1.131 MB / 0.617 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000554/0.6305, allocations: 374.7 kB / 0.6174 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.6323, allocations: 0.7746 MB / 0.6181 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008298/0.6332, allocations: 0.5227 MB / 0.6187 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.217e-05/0.6333, allocations: 48 kB / 0.6187 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.6353, allocations: 1.072 MB / 0.6198 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.6355, allocations: 187.5 kB / 0.6199 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.6359, allocations: 286.8 kB / 0.6202 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.638, allocations: 1.141 MB / 0.6213 GB, free: 1.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.638, allocations: 0 / 0.6213 GB, free: 1.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.638, allocations: 4 kB / 0.6213 GB, free: 1.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.638, allocations: 0 / 0.6213 GB, free: 1.918 MB / 494.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.001691/0.6397, allocations: 0.8351 MB / 0.6221 GB, free: 1.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.6398, allocations: 9.062 kB / 0.6221 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.641, allocations: 127.3 kB / 0.6223 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007163/0.6417, allocations: 375.7 kB / 0.6226 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-05/0.6418, allocations: 58.7 kB / 0.6227 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.6419, allocations: 36 kB / 0.6227 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.6428, allocations: 466.4 kB / 0.6232 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.6429, allocations: 7.938 kB / 0.6232 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.6429, allocations: 19.94 kB / 0.6232 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.6429, allocations: 8 kB / 0.6232 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007543/0.6437, allocations: 411.7 kB / 0.6236 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.6463, allocations: 1.539 MB / 0.6251 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/0.6469, allocations: 265.6 kB / 0.6253 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.6472, allocations: 124.8 kB / 0.6255 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000914/0.6481, allocations: 331.2 kB / 0.6258 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.6482, allocations: 42.5 kB / 0.6258 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=20): time 3.306e-06/0.6482, allocations: 1.406 kB / 0.6258 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20): time 0.001174/0.6494, allocations: 417.6 kB / 0.6262 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.6494, allocations: 51.41 kB / 0.6263 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.65, allocations: 429.6 kB / 0.6267 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.6501, allocations: 33.69 kB / 0.6267 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.6503, allocations: 228.1 kB / 0.6269 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.6503, allocations: 70.95 kB / 0.627 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.6505, allocations: 65.88 kB / 0.6271 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.6507, allocations: 346.8 kB / 0.6274 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.651, allocations: 120.5 kB / 0.6275 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.6512, allocations: 183.8 kB / 0.6277 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.6518, allocations: 316.3 kB / 0.628 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6518, allocations: 0.875 kB / 0.628 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007339/0.6525, allocations: 400.8 kB / 0.6284 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.6525, allocations: 4 kB / 0.6284 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6526, allocations: 4.562 kB / 0.6284 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.6526, allocations: 4 kB / 0.6284 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.6529, allocations: 59.91 kB / 0.6284 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.6529, allocations: 8.219 kB / 0.6284 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.6532, allocations: 51.45 kB / 0.6285 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.6533, allocations: 16.69 kB / 0.6285 GB, free: 10.18 MB / 0.4981 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.0002127/0.6535, allocations: 174.5 kB / 0.6287 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6537, allocations: 43.53 kB / 0.6287 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000863/0.6545, allocations: 391.4 kB / 0.6291 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.6545, allocations: 4 kB / 0.6291 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.6546, allocations: 0.875 kB / 0.6291 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6546, allocations: 0 / 0.6291 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.656, allocations: 0.8932 MB / 0.63 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.656, allocations: 4 kB / 0.63 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.6563, allocations: 47.91 kB / 0.63 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.6563, allocations: 4 kB / 0.63 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.6563, allocations: 14.56 kB / 0.63 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.6563, allocations: 3.938 kB / 0.63 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6563, allocations: 4 kB / 0.63 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.6574, allocations: 0.606 MB / 0.6306 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.6577, allocations: 168.5 kB / 0.6308 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.6577, allocations: 7.938 kB / 0.6308 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.6581, allocations: 36.03 kB / 0.6308 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.6582, allocations: 23.91 kB / 0.6309 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.6583, allocations: 15.98 kB / 0.6309 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004028/0.6587, allocations: 307.1 kB / 0.6312 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.01e-07/0.6587, allocations: 0 / 0.6312 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000766/0.6595, allocations: 163.7 kB / 0.6313 GB, free: 7.156 MB / 0.4981 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.0007833/0.6603, allocations: 227.5 kB / 0.6315 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007428/0.661, allocations: 303.9 kB / 0.6318 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.6611, allocations: 8.062 kB / 0.6318 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.6614, allocations: 140.4 kB / 0.632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.6628, allocations: 240.3 kB / 0.6322 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.6649, allocations: 1.007 MB / 0.6332 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.6654, allocations: 0.823 MB / 0.634 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005436/0.666, allocations: 110.2 kB / 0.6341 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.6661, allocations: 43.44 kB / 0.6341 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.6661, allocations: 0 / 0.6341 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of Templates: time 0.2444/0.9105, allocations: 9.971 MB / 0.6439 GB, free: 160.4 MB / 0.4981 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)