Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007264/0.0007264, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009243/0.001651, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000703/0.000703, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001778, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9565/0.9565, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1118/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7952/0.7952, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2653/1.061, allocations: 49.13 MB / 448.6 MB, free: 5.93 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 450 MB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.597e-05, allocations: 2.312 kB / 450 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1383/0.1383, allocations: 146.6 MB / 0.5826 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003848/0.1421, allocations: 2.344 MB / 0.5849 GB, free: 15.56 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.1426, allocations: 15.88 kB / 0.5849 GB, free: 15.55 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1429, allocations: 95.09 kB / 0.585 GB, free: 15.46 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.1443, allocations: 0.6605 MB / 0.5856 GB, free: 14.79 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1453, allocations: 0.5172 MB / 0.5861 GB, free: 14.28 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000799/0.1461, allocations: 0.7406 MB / 0.5869 GB, free: 13.54 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.1464, allocations: 233.3 kB / 0.5871 GB, free: 13.3 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.147, allocations: 420.6 kB / 0.5875 GB, free: 12.89 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005933/0.1476, allocations: 386.9 kB / 0.5879 GB, free: 12.52 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.1477, allocations: 31.94 kB / 0.5879 GB, free: 12.48 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007701/0.1484, allocations: 490.7 kB / 0.5884 GB, free: 12 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1485, allocations: 95.7 kB / 0.5884 GB, free: 11.91 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.1486, allocations: 103.8 kB / 0.5885 GB, free: 11.81 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.1493, allocations: 474.5 kB / 0.589 GB, free: 11.34 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.1493, allocations: 0 / 0.589 GB, free: 11.34 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1493, allocations: 0 / 0.589 GB, free: 11.34 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.1493, allocations: 0 / 0.589 GB, free: 11.34 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007377/0.15, allocations: 0.6571 MB / 0.5896 GB, free: 10.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.1501, allocations: 8.031 kB / 0.5896 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000654/0.1507, allocations: 257.4 kB / 0.5899 GB, free: 10.39 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1511, allocations: 280.3 kB / 0.5902 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/0.1511, allocations: 72.06 kB / 0.5902 GB, free: 10 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.1512, allocations: 24 kB / 0.5903 GB, free: 9.98 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.1515, allocations: 308.4 kB / 0.5905 GB, free: 9.652 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1515, allocations: 0 / 0.5905 GB, free: 9.652 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1515, allocations: 12 kB / 0.5906 GB, free: 9.641 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1515, allocations: 4 kB / 0.5906 GB, free: 9.637 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1516, allocations: 82.23 kB / 0.5906 GB, free: 9.559 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/0.1526, allocations: 0.8771 MB / 0.5915 GB, free: 8.645 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1527, allocations: 114.9 kB / 0.5916 GB, free: 8.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.1528, allocations: 37.5 kB / 0.5916 GB, free: 8.48 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.153, allocations: 75.92 kB / 0.5917 GB, free: 8.406 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.153, allocations: 38.5 kB / 0.5918 GB, free: 8.359 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.153, allocations: 0 / 0.5918 GB, free: 8.359 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0005746/0.1536, allocations: 129.5 kB / 0.5919 GB, free: 8.227 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1536, allocations: 55.34 kB / 0.5919 GB, free: 8.16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1538, allocations: 221 kB / 0.5921 GB, free: 7.938 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1538, allocations: 25.7 kB / 0.5922 GB, free: 7.906 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.1539, allocations: 184.9 kB / 0.5923 GB, free: 7.719 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1539, allocations: 43.55 kB / 0.5924 GB, free: 7.676 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.1539, allocations: 53.64 kB / 0.5924 GB, free: 7.617 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.154, allocations: 338.8 kB / 0.5928 GB, free: 7.277 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.1541, allocations: 18.81 kB / 0.5928 GB, free: 7.258 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.137e-05/0.1541, allocations: 145.4 kB / 0.5929 GB, free: 7.078 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1542, allocations: 106.7 kB / 0.593 GB, free: 6.953 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1543, allocations: 4 kB / 0.593 GB, free: 6.949 MB / 0.573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00017/0.1544, allocations: 128.2 kB / 0.5931 GB, free: 6.816 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1544, allocations: 4 kB / 0.5931 GB, free: 6.812 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1544, allocations: 7.984 kB / 0.5932 GB, free: 6.805 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1545, allocations: 0 / 0.5932 GB, free: 6.805 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1546, allocations: 51.91 kB / 0.5932 GB, free: 6.754 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1546, allocations: 7.938 kB / 0.5932 GB, free: 6.746 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.1547, allocations: 11.89 kB / 0.5932 GB, free: 6.734 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.1547, allocations: 24.17 kB / 0.5932 GB, free: 6.711 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 8.035e-05/0.1548, allocations: 116.7 kB / 0.5934 GB, free: 6.586 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.1548, allocations: 19.98 kB / 0.5934 GB, free: 6.566 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.155, allocations: 141.5 kB / 0.5935 GB, free: 6.426 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.155, allocations: 4 kB / 0.5935 GB, free: 6.422 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.155, allocations: 3.938 kB / 0.5935 GB, free: 6.418 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.155, allocations: 0 / 0.5935 GB, free: 6.418 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.1555, allocations: 0.5195 MB / 0.594 GB, free: 5.844 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1555, allocations: 0 / 0.594 GB, free: 5.844 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.1556, allocations: 39.92 kB / 0.5941 GB, free: 5.805 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.1557, allocations: 31.83 kB / 0.5941 GB, free: 5.773 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1557, allocations: 4 kB / 0.5941 GB, free: 5.77 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1557, allocations: 8 kB / 0.5941 GB, free: 5.762 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1557, allocations: 0 / 0.5941 GB, free: 5.762 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1557, allocations: 4 kB / 0.5941 GB, free: 5.758 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1559, allocations: 299.8 kB / 0.5944 GB, free: 5.418 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1559, allocations: 12.09 kB / 0.5944 GB, free: 5.406 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.156, allocations: 8 kB / 0.5944 GB, free: 5.398 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.156, allocations: 19.91 kB / 0.5944 GB, free: 5.379 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.156, allocations: 8.047 kB / 0.5944 GB, free: 5.371 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.1561, allocations: 70.78 kB / 0.5945 GB, free: 5.301 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1561, allocations: 0 / 0.5945 GB, free: 5.301 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003249/0.1564, allocations: 123.6 kB / 0.5946 GB, free: 5.18 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 15 * 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.0002948/0.1567, allocations: 156.1 kB / 0.5948 GB, free: 5.02 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1569, allocations: 80.64 kB / 0.5949 GB, free: 4.938 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.1569, allocations: 4 kB / 0.5949 GB, free: 4.934 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.1569, allocations: 65.44 kB / 0.5949 GB, free: 4.867 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.1575, allocations: 0.6756 MB / 0.5956 GB, free: 4.062 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.1598, allocations: 0.5696 MB / 0.5961 GB, free: 3.441 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.206e-05/0.1599, allocations: 100.3 kB / 0.5962 GB, free: 3.324 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.16, allocations: 33.94 kB / 0.5963 GB, free: 3.289 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.1602, allocations: 131.2 kB / 0.5964 GB, free: 3.16 MB / 0.573 GB Notification: Performance of SimCode: time 1.282e-06/0.1602, allocations: 0 / 0.5964 GB, free: 3.16 MB / 0.573 GB Notification: Performance of Templates: time 0.007983/0.1682, allocations: 5.879 MB / 0.6021 GB, free: 13.42 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.75961160287261]