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.0009518/0.0009518, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00718/0.00718, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.56/1.56, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.419/0.419, allocations: 55.01 MB / 325.8 MB, free: 0.5 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.000566/0.0005657, allocations: 16 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4207, allocations: 60.71 MB / 458 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2055/0.6262, allocations: 165 MB / 0.6084 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009911/0.6362, allocations: 7.075 MB / 0.6153 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006526/0.6369, allocations: 11.94 kB / 0.6153 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.6379, allocations: 214.8 kB / 0.6155 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003804/0.6417, allocations: 1.097 MB / 0.6166 GB, free: 9.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.6441, allocations: 0.6538 MB / 0.6172 GB, free: 8.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.6463, allocations: 1.564 MB / 0.6188 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007886/0.6471, allocations: 326.1 kB / 0.6191 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.6492, allocations: 0.7081 MB / 0.6198 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.6504, allocations: 0.4906 MB / 0.6202 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.6505, allocations: 28 kB / 0.6203 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.6529, allocations: 1.173 MB / 0.6214 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.6532, allocations: 171.5 kB / 0.6216 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.6538, allocations: 272.5 kB / 0.6218 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.6561, allocations: 1.126 MB / 0.6229 GB, free: 2.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6562, allocations: 0.5625 kB / 0.6229 GB, free: 2.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.6562, allocations: 0 / 0.6229 GB, free: 2.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.161e-05/0.6562, allocations: 4 kB / 0.6229 GB, free: 2.953 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.001929/0.6582, allocations: 0.7191 MB / 0.6236 GB, free: 2.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.6582, allocations: 12.03 kB / 0.6237 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.6595, allocations: 132.2 kB / 0.6238 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.6603, allocations: 375.8 kB / 0.6241 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.465e-05/0.6604, allocations: 62.69 kB / 0.6242 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.6605, allocations: 36 kB / 0.6242 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6616, allocations: 478.4 kB / 0.6247 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6616, allocations: 0 / 0.6247 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-05/0.6617, allocations: 16 kB / 0.6247 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.6617, allocations: 8 kB / 0.6247 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007962/0.6625, allocations: 423.6 kB / 0.6251 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.6652, allocations: 1.551 MB / 0.6266 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.6657, allocations: 281 kB / 0.6269 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.666, allocations: 133.5 kB / 0.627 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007524/0.6668, allocations: 347.2 kB / 0.6274 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.6668, allocations: 38.56 kB / 0.6274 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.6668, allocations: 0 / 0.6274 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20): time 0.0009475/0.6678, allocations: 431.8 kB / 0.6278 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.6678, allocations: 59.39 kB / 0.6279 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.6684, allocations: 429.6 kB / 0.6283 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-05/0.6685, allocations: 29.7 kB / 0.6283 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.6687, allocations: 228.1 kB / 0.6285 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/0.6688, allocations: 70.94 kB / 0.6286 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.6689, allocations: 29.7 kB / 0.6286 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.669, allocations: 346.8 kB / 0.6289 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.6693, allocations: 132.5 kB / 0.6291 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.6696, allocations: 183.9 kB / 0.6292 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.6701, allocations: 336.2 kB / 0.6296 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6701, allocations: 0 / 0.6296 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008189/0.671, allocations: 404.9 kB / 0.63 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.671, allocations: 4 kB / 0.63 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.671, allocations: 4 kB / 0.63 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.671, allocations: 0 / 0.63 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.6713, allocations: 67.91 kB / 0.63 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6714, allocations: 7.938 kB / 0.63 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.6717, allocations: 61.72 kB / 0.6301 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.6718, allocations: 19.94 kB / 0.6301 GB, free: 11.23 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.0002028/0.672, allocations: 165.8 kB / 0.6303 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.6721, allocations: 47.52 kB / 0.6303 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008432/0.673, allocations: 394.5 kB / 0.6307 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.673, allocations: 4 kB / 0.6307 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.673, allocations: 0 / 0.6307 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.673, allocations: 4 kB / 0.6307 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.6744, allocations: 0.9059 MB / 0.6316 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6744, allocations: 3.938 kB / 0.6316 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.6747, allocations: 47.92 kB / 0.6316 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.6747, allocations: 4 kB / 0.6316 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.6747, allocations: 7.984 kB / 0.6316 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.6748, allocations: 7.625 kB / 0.6317 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6748, allocations: 0 / 0.6317 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.676, allocations: 0.6305 MB / 0.6323 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.6762, allocations: 172.5 kB / 0.6324 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.6763, allocations: 11.98 kB / 0.6324 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.6767, allocations: 36.03 kB / 0.6325 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.6768, allocations: 15.92 kB / 0.6325 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.6769, allocations: 19.98 kB / 0.6325 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003378/0.6772, allocations: 307.1 kB / 0.6328 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6772, allocations: 0 / 0.6328 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006352/0.6779, allocations: 159.8 kB / 0.633 GB, free: 8.168 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.0005754/0.6785, allocations: 230.2 kB / 0.6332 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006236/0.6791, allocations: 311.5 kB / 0.6335 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.6791, allocations: 4 kB / 0.6335 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.6794, allocations: 149.9 kB / 0.6336 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.6807, allocations: 224.1 kB / 0.6338 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.6822, allocations: 1.075 MB / 0.6349 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.6826, allocations: 0.8269 MB / 0.6357 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004094/0.683, allocations: 108.7 kB / 0.6358 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.6832, allocations: 39.38 kB / 0.6358 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.6832, allocations: 0 / 0.6358 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.2304/0.9136, allocations: 9.621 MB / 0.6452 GB, free: 160.3 MB / 0.4981 GB 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: