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.001434/0.001434, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.515/1.515, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4329/0.4329, allocations: 54.95 MB / 324.7 MB, free: 15.97 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.001652/0.001652, allocations: 72.45 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1472, allocations: 59.59 MB / 454.9 MB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4676/0.6148, allocations: 169.4 MB / 0.6097 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009204/0.6241, allocations: 7.11 MB / 0.6167 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000588/0.6247, allocations: 11.94 kB / 0.6167 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009591/0.6257, allocations: 251.3 kB / 0.6169 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.6287, allocations: 1.155 MB / 0.618 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.6306, allocations: 0.7172 MB / 0.6187 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.6319, allocations: 1.127 MB / 0.6198 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005475/0.6325, allocations: 399.3 kB / 0.6202 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.6341, allocations: 0.7705 MB / 0.621 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000799/0.6349, allocations: 494.4 kB / 0.6215 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.635, allocations: 48 kB / 0.6215 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.6369, allocations: 1.021 MB / 0.6225 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.6371, allocations: 195.5 kB / 0.6227 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.6374, allocations: 275.7 kB / 0.6229 GB, free: 404 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.6388, allocations: 1.087 MB / 0.624 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6388, allocations: 0 / 0.624 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6388, allocations: 0 / 0.624 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.118e-06/0.6388, allocations: 0 / 0.624 GB, free: 15.3 MB / 0.4981 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.00149/0.6403, allocations: 0.8351 MB / 0.6248 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.6404, allocations: 8.031 kB / 0.6248 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009925/0.6414, allocations: 127.3 kB / 0.625 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.642, allocations: 374.9 kB / 0.6253 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.6421, allocations: 63.27 kB / 0.6254 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.6422, allocations: 36 kB / 0.6254 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.643, allocations: 470.3 kB / 0.6259 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.643, allocations: 0 / 0.6259 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.6431, allocations: 16.5 kB / 0.6259 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.6431, allocations: 12 kB / 0.6259 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.6438, allocations: 413.1 kB / 0.6263 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.6464, allocations: 1.539 MB / 0.6278 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.6469, allocations: 277 kB / 0.628 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.6472, allocations: 129.3 kB / 0.6282 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007417/0.6479, allocations: 327.2 kB / 0.6285 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.648, allocations: 38.56 kB / 0.6285 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.648, allocations: 0 / 0.6285 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20): time 0.0009462/0.6489, allocations: 421.6 kB / 0.6289 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.649, allocations: 55.41 kB / 0.629 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.6494, allocations: 425.6 kB / 0.6294 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.6495, allocations: 29.7 kB / 0.6294 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.6496, allocations: 232.1 kB / 0.6296 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.6497, allocations: 70.95 kB / 0.6297 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.6498, allocations: 61.89 kB / 0.6298 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.65, allocations: 354.7 kB / 0.6301 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.6502, allocations: 120.5 kB / 0.6302 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.6505, allocations: 179.9 kB / 0.6304 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.6511, allocations: 325.4 kB / 0.6307 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6511, allocations: 4 kB / 0.6307 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007297/0.6518, allocations: 396.8 kB / 0.6311 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.6519, allocations: 8.781 kB / 0.6311 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6519, allocations: 0 / 0.6311 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.6519, allocations: 4 kB / 0.6311 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.6522, allocations: 60.12 kB / 0.6311 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.6522, allocations: 8 kB / 0.6311 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.6525, allocations: 47.45 kB / 0.6312 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.6526, allocations: 19.94 kB / 0.6312 GB, free: 7.543 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.0002098/0.6528, allocations: 165.8 kB / 0.6314 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.6529, allocations: 46.41 kB / 0.6314 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008459/0.6538, allocations: 385.4 kB / 0.6318 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6538, allocations: 4 kB / 0.6318 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6538, allocations: 0 / 0.6318 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6538, allocations: 0 / 0.6318 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.6552, allocations: 0.8972 MB / 0.6327 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.6552, allocations: 4 kB / 0.6327 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.6554, allocations: 47.86 kB / 0.6327 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.6554, allocations: 4 kB / 0.6327 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.6555, allocations: 11.98 kB / 0.6327 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6555, allocations: 0 / 0.6327 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6555, allocations: 8.688 kB / 0.6327 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009648/0.6564, allocations: 0.6033 MB / 0.6333 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.6567, allocations: 168.5 kB / 0.6335 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.6567, allocations: 11.98 kB / 0.6335 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.6571, allocations: 19.98 kB / 0.6335 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.6572, allocations: 27.91 kB / 0.6335 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.6573, allocations: 16.98 kB / 0.6336 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002998/0.6576, allocations: 311.2 kB / 0.6339 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6576, allocations: 0 / 0.6339 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005935/0.6582, allocations: 155.8 kB / 0.634 GB, free: 4.543 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.0005761/0.6588, allocations: 217.5 kB / 0.6342 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006108/0.6594, allocations: 311.5 kB / 0.6345 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6594, allocations: 0 / 0.6345 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.6597, allocations: 151.7 kB / 0.6347 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6609, allocations: 247.2 kB / 0.6349 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.6624, allocations: 0.875 MB / 0.6357 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.6628, allocations: 0.8231 MB / 0.6365 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004217/0.6632, allocations: 109.7 kB / 0.6366 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.6633, allocations: 39.44 kB / 0.6367 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.6633, allocations: 4 kB / 0.6367 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.2313/0.8947, allocations: 10.07 MB / 0.6465 GB, free: 161.5 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)