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.000799/0.0007989, allocations: 87.11 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.0007897/0.0007896, 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.569/1.569, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4826/0.4826, allocations: 55.01 MB / 325.4 MB, free: 0.6875 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.0006319/0.0006322, allocations: 19.94 kB / 396.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.48, allocations: 60.72 MB / 457.4 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1992/0.6793, allocations: 154 MB / 0.597 GB, free: 13.24 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.6878, allocations: 6.616 MB / 0.6035 GB, free: 6.617 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.6884, allocations: 11.94 kB / 0.6035 GB, free: 6.605 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008365/0.6893, allocations: 166.9 kB / 0.6036 GB, free: 6.441 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.002739/0.692, allocations: 0.8055 MB / 0.6044 GB, free: 5.633 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.6938, allocations: 0.5301 MB / 0.6049 GB, free: 5.109 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.6959, allocations: 1.322 MB / 0.6062 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007203/0.6966, allocations: 303.8 kB / 0.6065 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.6986, allocations: 0.6342 MB / 0.6071 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009501/0.6995, allocations: 498.4 kB / 0.6076 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.6996, allocations: 20 kB / 0.6076 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.7012, allocations: 0.5262 MB / 0.6082 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.7015, allocations: 175.5 kB / 0.6083 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.7016, allocations: 121.5 kB / 0.6084 GB, free: 1.516 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009147/0.7026, allocations: 0.6819 MB / 0.6091 GB, free: 0.832 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7026, allocations: 0 / 0.6091 GB, free: 0.832 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7026, allocations: 0 / 0.6091 GB, free: 0.832 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.7026, allocations: 4 kB / 0.6091 GB, free: 0.8281 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.00132/0.7039, allocations: 0.7346 MB / 0.6098 GB, free: 48 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.704, allocations: 12.03 kB / 0.6098 GB, free: 36 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.7049, allocations: 125 kB / 0.61 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.7055, allocations: 367.2 kB / 0.6103 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.7056, allocations: 62.66 kB / 0.6104 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/0.7057, allocations: 43.91 kB / 0.6104 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.7066, allocations: 475.4 kB / 0.6109 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.7066, allocations: 3.984 kB / 0.6109 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.7067, allocations: 17.25 kB / 0.6109 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.7067, allocations: 15.98 kB / 0.6109 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.7075, allocations: 407.7 kB / 0.6113 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.7101, allocations: 1.543 MB / 0.6128 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.7107, allocations: 266.6 kB / 0.613 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.7109, allocations: 144.7 kB / 0.6132 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007747/0.7117, allocations: 347.1 kB / 0.6135 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.7118, allocations: 34.56 kB / 0.6135 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 2.474e-06/0.7118, allocations: 0 / 0.6135 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=20): time 0.001026/0.7128, allocations: 431.9 kB / 0.614 GB, free: 11.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.7129, allocations: 55.41 kB / 0.614 GB, free: 11.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.7134, allocations: 421.6 kB / 0.6144 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.7135, allocations: 37.7 kB / 0.6145 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.7136, allocations: 228.1 kB / 0.6147 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.7137, allocations: 74.95 kB / 0.6147 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.7138, allocations: 4 kB / 0.6147 GB, free: 10.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.7139, allocations: 346.8 kB / 0.6151 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.7142, allocations: 128.4 kB / 0.6152 GB, free: 10.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.7145, allocations: 187.9 kB / 0.6154 GB, free: 10.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.7148, allocations: 145.7 kB / 0.6155 GB, free: 9.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.7148, allocations: 7.938 kB / 0.6155 GB, free: 9.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007226/0.7155, allocations: 404.7 kB / 0.6159 GB, free: 9.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.7156, allocations: 8 kB / 0.6159 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7156, allocations: 0 / 0.6159 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.7156, allocations: 4 kB / 0.6159 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.7159, allocations: 67.91 kB / 0.616 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.716, allocations: 5.719 kB / 0.616 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.7163, allocations: 60.58 kB / 0.616 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.7163, allocations: 15.98 kB / 0.6161 GB, free: 9.352 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.7165, allocations: 169.8 kB / 0.6162 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7167, allocations: 43.48 kB / 0.6163 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000825/0.7175, allocations: 399.1 kB / 0.6166 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.7175, allocations: 0 / 0.6166 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7175, allocations: 4 kB / 0.6167 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7176, allocations: 8.938 kB / 0.6167 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.719, allocations: 0.8978 MB / 0.6175 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.719, allocations: 4 kB / 0.6175 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.7193, allocations: 47.91 kB / 0.6176 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.7193, allocations: 4 kB / 0.6176 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.7193, allocations: 8 kB / 0.6176 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/0.7193, allocations: 9.125 kB / 0.6176 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.7194, allocations: 7.922 kB / 0.6176 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.7205, allocations: 0.6273 MB / 0.6182 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.7207, allocations: 160.6 kB / 0.6184 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.7208, allocations: 8 kB / 0.6184 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.7212, allocations: 43.95 kB / 0.6184 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.7213, allocations: 27.86 kB / 0.6185 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/0.7213, allocations: 19.98 kB / 0.6185 GB, free: 6.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003201/0.7217, allocations: 303.1 kB / 0.6188 GB, free: 6.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7217, allocations: 0 / 0.6188 GB, free: 6.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006161/0.7223, allocations: 155.8 kB / 0.6189 GB, free: 6.293 MB / 494.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.0006217/0.7229, allocations: 201 kB / 0.6191 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.7235, allocations: 295.7 kB / 0.6194 GB, free: 5.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7236, allocations: 0 / 0.6194 GB, free: 5.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.7238, allocations: 148.6 kB / 0.6195 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.725, allocations: 239.2 kB / 0.6198 GB, free: 5.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.7267, allocations: 1.043 MB / 0.6208 GB, free: 4.355 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.7272, allocations: 0.8309 MB / 0.6216 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004733/0.7277, allocations: 106.2 kB / 0.6217 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.7278, allocations: 39.44 kB / 0.6217 GB, free: 3.359 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7279, allocations: 0 / 0.6217 GB, free: 3.359 MB / 494.1 MB Notification: Performance of Templates: time 0.01773/0.7456, allocations: 9.344 MB / 0.6308 GB, free: 10.14 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: