Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001042/0.001042, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 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.001025/0.001025, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 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.9969/0.9969, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8713/0.8713, allocations: 154.6 MB / 415.6 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.875 kB / 0.5215 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.69e-05, allocations: 7.172 kB / 0.5216 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.139/0.139, allocations: 144 MB / 0.6622 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002849/0.1419, allocations: 2.28 MB / 0.6644 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.1421, allocations: 23.81 kB / 0.6644 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.1425, allocations: 91.2 kB / 0.6645 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.1437, allocations: 0.6566 MB / 0.6652 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.1447, allocations: 0.5298 MB / 0.6657 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008238/0.1455, allocations: 0.7522 MB / 0.6664 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.1459, allocations: 239.1 kB / 0.6667 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.1465, allocations: 410.9 kB / 0.667 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.1471, allocations: 406.8 kB / 0.6674 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.1471, allocations: 24 kB / 0.6675 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006603/0.1478, allocations: 486.6 kB / 0.6679 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1479, allocations: 127.6 kB / 0.668 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.994e-05/0.148, allocations: 119.7 kB / 0.6682 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008263/0.1488, allocations: 0.5374 MB / 0.6687 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1488, allocations: 3.984 kB / 0.6687 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1488, allocations: 3.938 kB / 0.6687 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.1488, allocations: 0 / 0.6687 GB, free: 10.91 MB / 0.6355 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.0006704/0.1495, allocations: 0.6865 MB / 0.6694 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1496, allocations: 8.031 kB / 0.6694 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006101/0.1502, allocations: 180.2 kB / 0.6695 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.1505, allocations: 295.3 kB / 0.6698 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/0.1506, allocations: 76.62 kB / 0.6699 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.1507, allocations: 27.94 kB / 0.6699 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.151, allocations: 303.8 kB / 0.6702 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.151, allocations: 0 / 0.6702 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.151, allocations: 12 kB / 0.6702 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.151, allocations: 4 kB / 0.6702 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1511, allocations: 95.31 kB / 0.6703 GB, free: 9.133 MB / 0.6355 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.001084/0.1522, allocations: 1.21 MB / 0.6715 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1524, allocations: 79.14 kB / 0.6716 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.1524, allocations: 35.67 kB / 0.6716 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.1527, allocations: 71.92 kB / 0.6717 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1527, allocations: 41.39 kB / 0.6717 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.1527, allocations: 0 / 0.6717 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003545/0.1531, allocations: 163 kB / 0.6719 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1531, allocations: 51.41 kB / 0.6719 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.1535, allocations: 280.2 kB / 0.6722 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1536, allocations: 25.7 kB / 0.6722 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1537, allocations: 251.2 kB / 0.6725 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1537, allocations: 51.53 kB / 0.6725 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.1538, allocations: 55.34 kB / 0.6726 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1539, allocations: 0.504 MB / 0.673 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.1539, allocations: 19.94 kB / 0.6731 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.621e-05/0.154, allocations: 170.8 kB / 0.6732 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1541, allocations: 116 kB / 0.6733 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1541, allocations: 0 / 0.6733 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000222/0.1544, allocations: 157.3 kB / 0.6735 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1544, allocations: 7.984 kB / 0.6735 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1544, allocations: 4 kB / 0.6735 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1544, allocations: 0 / 0.6735 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1545, allocations: 35.98 kB / 0.6735 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1545, allocations: 3.938 kB / 0.6735 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.1546, allocations: 23.83 kB / 0.6736 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1546, allocations: 16.17 kB / 0.6736 GB, free: 5.574 MB / 0.6355 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 9.917e-05/0.1547, allocations: 164.6 kB / 0.6737 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.1548, allocations: 27.86 kB / 0.6738 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.155, allocations: 155.2 kB / 0.6739 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.155, allocations: 0 / 0.6739 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.155, allocations: 4 kB / 0.6739 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.155, allocations: 3.938 kB / 0.6739 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.1556, allocations: 0.5385 MB / 0.6744 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1556, allocations: 8.062 kB / 0.6745 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-05/0.1557, allocations: 31.86 kB / 0.6745 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1557, allocations: 7.938 kB / 0.6745 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1557, allocations: 11.98 kB / 0.6745 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1557, allocations: 4 kB / 0.6745 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1557, allocations: 0 / 0.6745 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.156, allocations: 328 kB / 0.6748 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.156, allocations: 47.7 kB / 0.6749 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1561, allocations: 4 kB / 0.6749 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.1562, allocations: 16 kB / 0.6749 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.1562, allocations: 15.91 kB / 0.6749 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1562, allocations: 12 kB / 0.6749 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.591e-05/0.1563, allocations: 189.1 kB / 0.6751 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1563, allocations: 0 / 0.6751 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003719/0.1567, allocations: 107.7 kB / 0.6752 GB, free: 3.793 MB / 0.6355 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.0002865/0.157, allocations: 171 kB / 0.6754 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1571, allocations: 93.67 kB / 0.6754 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1571, allocations: 0 / 0.6754 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/0.1572, allocations: 48.28 kB / 0.6755 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.1577, allocations: 114 kB / 0.6756 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.1586, allocations: 0.5603 MB / 0.6761 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.266e-05/0.1587, allocations: 104.2 kB / 0.6762 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.1588, allocations: 42.11 kB / 0.6763 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.159, allocations: 174.1 kB / 0.6765 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of SimCode: time 8.91e-07/0.159, allocations: 0 / 0.6765 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of Templates: time 0.2307/0.3898, allocations: 5.798 MB / 0.6821 GB, free: 64.09 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.418618678115308]