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.0008847/0.0008847, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.0009374/0.0009374, allocations: 177.3 kB / 15.95 MB, free: 216 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.496/1.496, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3824/0.3824, allocations: 54.98 MB / 325.4 MB, free: 0.7422 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.0005104/0.0005105, allocations: 20 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3034, allocations: 60.71 MB / 457.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEntropy): time 0.1634/0.4668, allocations: 137 MB / 0.5804 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.4716, allocations: 3.552 MB / 0.5838 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.4718, allocations: 7.938 kB / 0.5838 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.4724, allocations: 155.2 kB / 0.584 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.4735, allocations: 394.8 kB / 0.5844 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.4749, allocations: 0.5191 MB / 0.5849 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006491/0.4756, allocations: 0.4966 MB / 0.5853 GB, free: 9.223 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.476, allocations: 235.7 kB / 0.5856 GB, free: 8.996 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.4771, allocations: 0.4907 MB / 0.586 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.4775, allocations: 263.2 kB / 0.5863 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.4776, allocations: 16 kB / 0.5863 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.4785, allocations: 451.3 kB / 0.5867 GB, free: 7.789 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.4787, allocations: 131.7 kB / 0.5869 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.4788, allocations: 103.8 kB / 0.587 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006506/0.4795, allocations: 0.5464 MB / 0.5875 GB, free: 7.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4795, allocations: 4 kB / 0.5875 GB, free: 7.016 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4795, allocations: 0 / 0.5875 GB, free: 7.016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4795, allocations: 0 / 0.5875 GB, free: 7.016 MB / 462.1 MB 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.001127/0.4806, allocations: 0.6371 MB / 0.5881 GB, free: 6.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4807, allocations: 12.03 kB / 0.5881 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008128/0.4815, allocations: 101.2 kB / 0.5882 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.482, allocations: 323.9 kB / 0.5885 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.4821, allocations: 22.38 kB / 0.5886 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.4821, allocations: 32 kB / 0.5886 GB, free: 5.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.4829, allocations: 429.8 kB / 0.589 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4829, allocations: 4 kB / 0.589 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.4829, allocations: 16 kB / 0.589 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4829, allocations: 11.95 kB / 0.589 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.4836, allocations: 350.8 kB / 0.5894 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.486, allocations: 1.561 MB / 0.5909 GB, free: 3.332 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.4863, allocations: 106.5 kB / 0.591 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003763/0.4867, allocations: 133 kB / 0.5911 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4867, allocations: 42.64 kB / 0.5912 GB, free: 3.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4867, allocations: 0 / 0.5912 GB, free: 3.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007086/0.4874, allocations: 298.2 kB / 0.5915 GB, free: 2.723 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4875, allocations: 51.41 kB / 0.5915 GB, free: 2.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.488, allocations: 433.6 kB / 0.5919 GB, free: 2.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.488, allocations: 25.7 kB / 0.5919 GB, free: 2.199 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.4882, allocations: 223.5 kB / 0.5922 GB, free: 1.977 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.4882, allocations: 36.02 kB / 0.5922 GB, free: 1.941 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.4882, allocations: 8 kB / 0.5922 GB, free: 1.934 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4884, allocations: 338.8 kB / 0.5925 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.4886, allocations: 107.9 kB / 0.5926 GB, free: 1.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.4889, allocations: 205.7 kB / 0.5928 GB, free: 1.238 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.4892, allocations: 144.8 kB / 0.593 GB, free: 1.098 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4892, allocations: 0.75 kB / 0.593 GB, free: 1.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006688/0.4899, allocations: 373.8 kB / 0.5933 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4899, allocations: 15.94 kB / 0.5933 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4899, allocations: 4 kB / 0.5933 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.49, allocations: 4 kB / 0.5933 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.4902, allocations: 63.84 kB / 0.5934 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4903, allocations: 6.172 kB / 0.5934 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.4906, allocations: 55.52 kB / 0.5935 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.4906, allocations: 16.84 kB / 0.5935 GB, free: 0.5664 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.4908, allocations: 169.7 kB / 0.5936 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.4909, allocations: 35.62 kB / 0.5937 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.4915, allocations: 251.5 kB / 0.5939 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4915, allocations: 0 / 0.5939 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4915, allocations: 0 / 0.5939 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4915, allocations: 0 / 0.5939 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008345/0.4924, allocations: 0.6053 MB / 0.5945 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4924, allocations: 4.641 kB / 0.5945 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.4925, allocations: 23.98 kB / 0.5945 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4925, allocations: 0 / 0.5945 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.4925, allocations: 7.984 kB / 0.5945 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4926, allocations: 1.375 kB / 0.5945 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4926, allocations: 0 / 0.5945 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.4933, allocations: 416.1 kB / 0.5949 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.4935, allocations: 144.6 kB / 0.5951 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.4936, allocations: 192 / 0.5951 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.4939, allocations: 15.98 kB / 0.5951 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.4939, allocations: 23.92 kB / 0.5951 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.494, allocations: 11.98 kB / 0.5951 GB, free: 14.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003285/0.4943, allocations: 319.1 kB / 0.5954 GB, free: 14.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4943, allocations: 0 / 0.5954 GB, free: 14.44 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005151/0.4948, allocations: 131.9 kB / 0.5955 GB, free: 14.31 MB / 478.1 MB 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 (9): * Single equations (assignments): 9 * 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.0005178/0.4954, allocations: 191.8 kB / 0.5957 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.4959, allocations: 234.1 kB / 0.596 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4959, allocations: 0 / 0.596 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.496, allocations: 71.97 kB / 0.596 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.497, allocations: 181.2 kB / 0.5962 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.4981, allocations: 0.7403 MB / 0.5969 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.4985, allocations: 0.8038 MB / 0.5977 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00035/0.4989, allocations: 84.25 kB / 0.5978 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.499, allocations: 27.44 kB / 0.5978 GB, free: 11.94 MB / 478.1 MB Notification: Performance of SimCode: time 2.715e-06/0.499, allocations: 0 / 0.5978 GB, free: 11.94 MB / 478.1 MB Notification: Performance of Templates: time 0.01454/0.5135, allocations: 7.742 MB / 0.6054 GB, free: 4.309 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: