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.00979/0.00979, allocations: 100.9 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.001268/0.001268, allocations: 190 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.662/1.662, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4467/0.4467, allocations: 54.94 MB / 324.8 MB, free: 15.96 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.001562/0.001562, allocations: 66.06 kB / 456.2 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1443, allocations: 59.6 MB / 0.5037 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEntropy): time 0.601/0.7453, allocations: 163.2 MB / 0.6631 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005936/0.7513, allocations: 4.546 MB / 0.6676 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.7519, allocations: 10.56 kB / 0.6676 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009302/0.7529, allocations: 214.9 kB / 0.6678 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.7547, allocations: 0.7157 MB / 0.6685 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.7571, allocations: 0.8754 MB / 0.6693 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.7583, allocations: 0.9213 MB / 0.6702 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004677/0.7587, allocations: 289.3 kB / 0.6705 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.7601, allocations: 0.6309 MB / 0.6711 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.7607, allocations: 359.6 kB / 0.6715 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.7608, allocations: 37.34 kB / 0.6715 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.7627, allocations: 1.035 MB / 0.6725 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.7628, allocations: 156.1 kB / 0.6727 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.7631, allocations: 219.5 kB / 0.6729 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.7646, allocations: 0.9815 MB / 0.6738 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7646, allocations: 0 / 0.6738 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7646, allocations: 0 / 0.6738 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.7646, allocations: 0 / 0.6738 GB, free: 15.89 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.001387/0.766, allocations: 0.7344 MB / 0.6746 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.766, allocations: 8.438 kB / 0.6746 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008436/0.7669, allocations: 101.5 kB / 0.6747 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.7674, allocations: 344.2 kB / 0.675 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.7674, allocations: 23.66 kB / 0.675 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.7675, allocations: 32.56 kB / 0.6751 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.7681, allocations: 434.3 kB / 0.6755 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.7681, allocations: 3.094 kB / 0.6755 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.7682, allocations: 18.72 kB / 0.6755 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.7682, allocations: 10.75 kB / 0.6755 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.7688, allocations: 338.8 kB / 0.6758 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.7713, allocations: 1.534 MB / 0.6773 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.7715, allocations: 99.98 kB / 0.6774 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.7716, allocations: 69.56 kB / 0.6775 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/0.7724, allocations: 331.9 kB / 0.6778 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.7724, allocations: 36.62 kB / 0.6778 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 2.996e-06/0.7724, allocations: 0 / 0.6778 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0006409/0.7731, allocations: 241.6 kB / 0.6781 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.7731, allocations: 54.78 kB / 0.6781 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.7736, allocations: 436.7 kB / 0.6785 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.7736, allocations: 25.7 kB / 0.6786 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.7738, allocations: 221.4 kB / 0.6788 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.7738, allocations: 36.06 kB / 0.6788 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.7739, allocations: 61.5 kB / 0.6789 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.7741, allocations: 338.1 kB / 0.6792 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.7743, allocations: 97.38 kB / 0.6793 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.7746, allocations: 194.1 kB / 0.6795 GB, free: 13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.775, allocations: 295.7 kB / 0.6797 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.775, allocations: 5.391 kB / 0.6797 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006251/0.7756, allocations: 339.3 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.7757, allocations: 4.625 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.7757, allocations: 5.25 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.7757, allocations: 3.844 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.776, allocations: 61.28 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.776, allocations: 11.52 kB / 0.6802 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.7764, allocations: 46.16 kB / 0.6802 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.7764, allocations: 21.47 kB / 0.6802 GB, free: 12.78 MB / 0.5137 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.0001882/0.7766, allocations: 168.3 kB / 0.6804 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.7767, allocations: 33.34 kB / 0.6804 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.7772, allocations: 204 kB / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.7772, allocations: 3.984 kB / 0.6806 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.7773, allocations: 6.578 kB / 0.6806 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.7773, allocations: 0 / 0.6806 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/0.7782, allocations: 0.5383 MB / 0.6811 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7782, allocations: 3.594 kB / 0.6811 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.7783, allocations: 18.41 kB / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7783, allocations: 0 / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7783, allocations: 64 / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.7783, allocations: 8.344 kB / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.7784, allocations: 1.094 kB / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.7789, allocations: 298.4 kB / 0.6815 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.7791, allocations: 139 kB / 0.6816 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.7792, allocations: 0 / 0.6816 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.7795, allocations: 16.44 kB / 0.6816 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.7795, allocations: 11.8 kB / 0.6816 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.7796, allocations: 12.27 kB / 0.6816 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003538/0.7799, allocations: 332 kB / 0.6819 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7799, allocations: 0 / 0.6819 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006812/0.7806, allocations: 140.9 kB / 0.6821 GB, free: 11.87 MB / 0.5137 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.0005463/0.7812, allocations: 224.4 kB / 0.6823 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.7816, allocations: 181.3 kB / 0.6825 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7816, allocations: 1.203 kB / 0.6825 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.7817, allocations: 50 kB / 0.6825 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009117/0.7827, allocations: 187.1 kB / 0.6827 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.7838, allocations: 0.6108 MB / 0.6833 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.7843, allocations: 0.7891 MB / 0.6841 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003484/0.7847, allocations: 79.19 kB / 0.6841 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.7847, allocations: 31.25 kB / 0.6842 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.7847, allocations: 0 / 0.6842 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.01595/0.8007, allocations: 8.309 MB / 0.6923 GB, free: 8.418 MB / 0.5137 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)