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.005614/0.005614, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001208/0.001207, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.384/1.384, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4115/0.4115, allocations: 54.95 MB / 324.9 MB, free: 15.94 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.001422/0.001423, allocations: 74.69 kB / 456.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1129, allocations: 59.59 MB / 0.5037 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4918/0.6047, allocations: 169.4 MB / 0.6692 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007076/0.6119, allocations: 7.109 MB / 0.6761 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.6126, allocations: 11.44 kB / 0.6761 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008034/0.6134, allocations: 250.7 kB / 0.6764 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.6163, allocations: 1.166 MB / 0.6775 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.6182, allocations: 0.7135 MB / 0.6782 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.6195, allocations: 1.128 MB / 0.6793 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/0.6201, allocations: 399.4 kB / 0.6797 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.6218, allocations: 0.7701 MB / 0.6805 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009317/0.6228, allocations: 498.3 kB / 0.6809 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.508e-05/0.6229, allocations: 44.19 kB / 0.681 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.6249, allocations: 1.028 MB / 0.682 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.6252, allocations: 196.2 kB / 0.6822 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.6256, allocations: 281.5 kB / 0.6824 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.6274, allocations: 1.095 MB / 0.6835 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6274, allocations: 0 / 0.6835 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6274, allocations: 1.203 kB / 0.6835 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.6274, allocations: 0 / 0.6835 GB, free: 15.64 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00169/0.6291, allocations: 0.8324 MB / 0.6843 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6292, allocations: 7.844 kB / 0.6843 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/0.6302, allocations: 127.2 kB / 0.6844 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.6308, allocations: 386.6 kB / 0.6848 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.468e-05/0.6309, allocations: 61.16 kB / 0.6849 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.6309, allocations: 37.53 kB / 0.6849 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000927/0.6319, allocations: 472.7 kB / 0.6854 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6319, allocations: 1.203 kB / 0.6854 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/0.632, allocations: 14.5 kB / 0.6854 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.632, allocations: 12.59 kB / 0.6854 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.6327, allocations: 405.4 kB / 0.6858 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.6354, allocations: 1.538 MB / 0.6873 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.6359, allocations: 263.9 kB / 0.6875 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.6362, allocations: 132.6 kB / 0.6876 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007499/0.6369, allocations: 332.4 kB / 0.688 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.637, allocations: 37.25 kB / 0.688 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 2.755e-06/0.637, allocations: 0 / 0.688 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0008997/0.6379, allocations: 411.6 kB / 0.6884 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.638, allocations: 59.09 kB / 0.6884 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.6384, allocations: 434.7 kB / 0.6889 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.6385, allocations: 31.61 kB / 0.6889 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.6386, allocations: 225.7 kB / 0.6891 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.6388, allocations: 73.39 kB / 0.6892 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6389, allocations: 55.69 kB / 0.6892 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.6391, allocations: 353.7 kB / 0.6896 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.6393, allocations: 127.1 kB / 0.6897 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.6396, allocations: 185.2 kB / 0.6899 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.6401, allocations: 312.5 kB / 0.6902 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6401, allocations: 5.141 kB / 0.6902 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007003/0.6408, allocations: 393.6 kB / 0.6905 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.6409, allocations: 6.781 kB / 0.6906 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6409, allocations: 3.281 kB / 0.6906 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6409, allocations: 2.812 kB / 0.6906 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.6412, allocations: 61.55 kB / 0.6906 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.6412, allocations: 5.938 kB / 0.6906 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.6416, allocations: 58.14 kB / 0.6907 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.6416, allocations: 10.78 kB / 0.6907 GB, free: 12.7 MB / 0.5137 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.0002151/0.6418, allocations: 168.6 kB / 0.6908 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.642, allocations: 45.64 kB / 0.6909 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/0.6428, allocations: 387.6 kB / 0.6913 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6428, allocations: 2.781 kB / 0.6913 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6428, allocations: 4 kB / 0.6913 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6428, allocations: 0 / 0.6913 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.6443, allocations: 0.897 MB / 0.6921 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6443, allocations: 4.031 kB / 0.6921 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.6446, allocations: 46.97 kB / 0.6922 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.6446, allocations: 6.312 kB / 0.6922 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.6446, allocations: 6.875 kB / 0.6922 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.6446, allocations: 5.047 kB / 0.6922 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6446, allocations: 3.406 kB / 0.6922 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.6457, allocations: 0.6092 MB / 0.6928 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.646, allocations: 171 kB / 0.693 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.646, allocations: 16.19 kB / 0.693 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.6464, allocations: 20.42 kB / 0.693 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.6465, allocations: 24.92 kB / 0.693 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.6466, allocations: 22.73 kB / 0.6931 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003161/0.6469, allocations: 300.8 kB / 0.6933 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6469, allocations: 2.562 kB / 0.6933 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006292/0.6475, allocations: 156.4 kB / 0.6935 GB, free: 11.7 MB / 0.5137 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.0006288/0.6482, allocations: 219.6 kB / 0.6937 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006351/0.6488, allocations: 297.9 kB / 0.694 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6488, allocations: 3.188 kB / 0.694 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.6491, allocations: 149 kB / 0.6941 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6504, allocations: 250.1 kB / 0.6944 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.6521, allocations: 0.8586 MB / 0.6952 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.6525, allocations: 0.8256 MB / 0.696 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004324/0.653, allocations: 108.7 kB / 0.6961 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.6531, allocations: 36.64 kB / 0.6962 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of SimCode: time 4.9e-07/0.6531, allocations: 3.938 kB / 0.6962 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.01827/0.6714, allocations: 10.09 MB / 0.706 GB, free: 5.809 MB / 0.5137 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)