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.01408/0.01408, allocations: 102 kB / 15.73 MB, free: 6.043 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.002894/0.002894, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.711/1.711, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2592/0.2592, allocations: 54.97 MB / 324.9 MB, free: 4.855 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.001488/0.001488, allocations: 75.83 kB / 456.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1497, allocations: 59.6 MB / 0.5037 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEntropy): time 0.505/0.6548, allocations: 163.2 MB / 0.6631 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006671/0.6615, allocations: 4.544 MB / 0.6676 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.662, allocations: 11.94 kB / 0.6676 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.6628, allocations: 202.8 kB / 0.6678 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.6651, allocations: 0.6921 MB / 0.6685 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.6678, allocations: 0.8677 MB / 0.6693 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001424/0.6692, allocations: 0.9243 MB / 0.6702 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.6697, allocations: 293 kB / 0.6705 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.671, allocations: 0.5955 MB / 0.6711 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005631/0.6716, allocations: 354.8 kB / 0.6714 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.6717, allocations: 36 kB / 0.6714 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.6736, allocations: 1.025 MB / 0.6724 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.6738, allocations: 167.5 kB / 0.6726 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.674, allocations: 223.1 kB / 0.6728 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.6754, allocations: 0.9729 MB / 0.6738 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6754, allocations: 0 / 0.6738 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6754, allocations: 0 / 0.6738 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.6754, allocations: 3.938 kB / 0.6738 GB, free: 2.73 MB / 0.5137 GB 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.001415/0.6769, allocations: 0.736 MB / 0.6745 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6769, allocations: 8.031 kB / 0.6745 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008828/0.6778, allocations: 99.39 kB / 0.6746 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.6784, allocations: 343.8 kB / 0.6749 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.6784, allocations: 24.59 kB / 0.6749 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.6785, allocations: 32 kB / 0.675 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.6793, allocations: 433.8 kB / 0.6754 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.6793, allocations: 0 / 0.6754 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.6794, allocations: 16 kB / 0.6754 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.6794, allocations: 11.94 kB / 0.6754 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006469/0.6801, allocations: 346.3 kB / 0.6757 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.6828, allocations: 1.53 MB / 0.6772 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.6831, allocations: 94.53 kB / 0.6773 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.6833, allocations: 69 kB / 0.6774 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007505/0.684, allocations: 339.1 kB / 0.6777 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.6841, allocations: 38.56 kB / 0.6778 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.6841, allocations: 0 / 0.6778 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0006938/0.6848, allocations: 241.1 kB / 0.678 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.6849, allocations: 55.41 kB / 0.678 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.6854, allocations: 433.5 kB / 0.6785 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.6854, allocations: 29.7 kB / 0.6785 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.6856, allocations: 215.5 kB / 0.6787 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.6857, allocations: 39.48 kB / 0.6787 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/0.6858, allocations: 58.11 kB / 0.6788 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.686, allocations: 342.8 kB / 0.6791 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.6862, allocations: 91.94 kB / 0.6792 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.6864, allocations: 198.8 kB / 0.6794 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.6869, allocations: 289.4 kB / 0.6797 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6869, allocations: 0 / 0.6797 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007323/0.6876, allocations: 340.8 kB / 0.68 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.6877, allocations: 8 kB / 0.68 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6877, allocations: 0 / 0.68 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.6877, allocations: 8.406 kB / 0.68 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.688, allocations: 71.83 kB / 0.6801 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.688, allocations: 10.14 kB / 0.6801 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.6883, allocations: 47.44 kB / 0.6801 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.6884, allocations: 15.98 kB / 0.6801 GB, free: 11.76 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.6885, allocations: 165.7 kB / 0.6803 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.6886, allocations: 31.62 kB / 0.6803 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.6892, allocations: 208 kB / 0.6805 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6892, allocations: 3.984 kB / 0.6805 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6892, allocations: 0 / 0.6805 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6892, allocations: 4 kB / 0.6805 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/0.69, allocations: 0.5402 MB / 0.6811 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.69, allocations: 0 / 0.6811 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.6901, allocations: 19.98 kB / 0.6811 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6901, allocations: 0 / 0.6811 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6901, allocations: 4 kB / 0.6811 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6902, allocations: 8.062 kB / 0.6811 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6902, allocations: 0.625 kB / 0.6811 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.6907, allocations: 293.9 kB / 0.6814 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.6909, allocations: 140.8 kB / 0.6815 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.691, allocations: 4 kB / 0.6815 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.6913, allocations: 12.86 kB / 0.6815 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.6914, allocations: 11.92 kB / 0.6815 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.6914, allocations: 15.98 kB / 0.6816 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003737/0.6918, allocations: 335.1 kB / 0.6819 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6918, allocations: 0 / 0.6819 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005599/0.6924, allocations: 135.8 kB / 0.682 GB, free: 9.734 MB / 0.5294 GB 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 (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.00062/0.693, allocations: 230.2 kB / 0.6822 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004908/0.6935, allocations: 180.1 kB / 0.6824 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6935, allocations: 3.938 kB / 0.6824 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.6936, allocations: 46.78 kB / 0.6824 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6946, allocations: 188.4 kB / 0.6826 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6957, allocations: 0.6128 MB / 0.6832 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.6961, allocations: 0.784 MB / 0.684 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002711/0.6964, allocations: 91.16 kB / 0.6841 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.6964, allocations: 31.44 kB / 0.6841 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/0.6964, allocations: 0 / 0.6841 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of Templates: time 0.01461/0.7111, allocations: 8.297 MB / 0.6922 GB, free: 15.33 MB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.makefile (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)