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.0009178/0.0009178, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002231, 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.0009194/0.0009194, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002111, 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 1.029/1.029, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08582/1.115, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.7743/0.7743, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2707/1.045, allocations: 49.04 MB / 447.8 MB, free: 6.574 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/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 2.144e-06/2.144e-06, allocations: 0 / 449.2 MB, free: 5.227 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.709e-05, allocations: 4.609 kB / 449.2 MB, free: 5.223 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1349/0.135, allocations: 146.6 MB / 0.5818 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1377, allocations: 2.323 MB / 0.5841 GB, free: 224 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1379, allocations: 19.81 kB / 0.5841 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.1381, allocations: 95.2 kB / 0.5842 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.1392, allocations: 0.6605 MB / 0.5849 GB, free: 15.44 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.14, allocations: 0.5143 MB / 0.5854 GB, free: 14.93 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.1406, allocations: 0.7444 MB / 0.5861 GB, free: 14.18 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.1409, allocations: 231.6 kB / 0.5863 GB, free: 13.95 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004574/0.1414, allocations: 423.7 kB / 0.5867 GB, free: 13.54 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.1419, allocations: 386.8 kB / 0.5871 GB, free: 13.16 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.1419, allocations: 28 kB / 0.5871 GB, free: 13.13 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.1425, allocations: 482.7 kB / 0.5876 GB, free: 12.66 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.1426, allocations: 107.7 kB / 0.5877 GB, free: 12.55 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.1427, allocations: 99.81 kB / 0.5878 GB, free: 12.46 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.1432, allocations: 478.4 kB / 0.5882 GB, free: 11.99 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.1432, allocations: 0 / 0.5882 GB, free: 11.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1432, allocations: 0 / 0.5882 GB, free: 11.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.1432, allocations: 0 / 0.5882 GB, free: 11.99 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.0006274/0.1438, allocations: 0.6533 MB / 0.5889 GB, free: 11.31 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.1439, allocations: 8.031 kB / 0.5889 GB, free: 11.3 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.1444, allocations: 261.4 kB / 0.5891 GB, free: 11.03 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1447, allocations: 272.4 kB / 0.5894 GB, free: 10.74 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.1448, allocations: 76.05 kB / 0.5894 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1448, allocations: 28 kB / 0.5895 GB, free: 10.63 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.1451, allocations: 296.4 kB / 0.5898 GB, free: 10.31 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1451, allocations: 0 / 0.5898 GB, free: 10.31 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1451, allocations: 12 kB / 0.5898 GB, free: 10.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1451, allocations: 8 kB / 0.5898 GB, free: 10.29 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1452, allocations: 82.23 kB / 0.5899 GB, free: 10.21 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.0009574/0.1462, allocations: 0.8848 MB / 0.5907 GB, free: 9.289 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1463, allocations: 114.9 kB / 0.5908 GB, free: 9.164 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.1464, allocations: 35.67 kB / 0.5909 GB, free: 9.125 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.1466, allocations: 75.91 kB / 0.5909 GB, free: 9.051 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1467, allocations: 38.56 kB / 0.591 GB, free: 9.004 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.1467, allocations: 0 / 0.591 GB, free: 9.004 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0002839/0.1469, allocations: 131.3 kB / 0.5911 GB, free: 8.871 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.147, allocations: 55.34 kB / 0.5911 GB, free: 8.805 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1471, allocations: 221 kB / 0.5914 GB, free: 8.582 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1471, allocations: 25.7 kB / 0.5914 GB, free: 8.551 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.1472, allocations: 180.9 kB / 0.5916 GB, free: 8.367 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1472, allocations: 59.47 kB / 0.5916 GB, free: 8.309 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1472, allocations: 41.69 kB / 0.5917 GB, free: 8.262 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.1473, allocations: 334.8 kB / 0.592 GB, free: 7.926 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/0.1474, allocations: 22.81 kB / 0.592 GB, free: 7.902 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.1474, allocations: 141.3 kB / 0.5921 GB, free: 7.727 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.677e-05/0.1475, allocations: 108.6 kB / 0.5922 GB, free: 7.598 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1475, allocations: 4 kB / 0.5922 GB, free: 7.594 MB / 0.573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001614/0.1477, allocations: 126.9 kB / 0.5924 GB, free: 7.465 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.1477, allocations: 4 kB / 0.5924 GB, free: 7.461 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1477, allocations: 7.984 kB / 0.5924 GB, free: 7.453 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1477, allocations: 4 kB / 0.5924 GB, free: 7.449 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1478, allocations: 47.86 kB / 0.5924 GB, free: 7.402 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1478, allocations: 4 kB / 0.5924 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.1479, allocations: 23.88 kB / 0.5924 GB, free: 7.375 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1479, allocations: 12.19 kB / 0.5925 GB, free: 7.363 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 6.991e-05/0.148, allocations: 124.5 kB / 0.5926 GB, free: 7.23 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.1481, allocations: 15.98 kB / 0.5926 GB, free: 7.215 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.1483, allocations: 139.2 kB / 0.5927 GB, free: 7.074 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1483, allocations: 4 kB / 0.5927 GB, free: 7.07 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1483, allocations: 3.938 kB / 0.5927 GB, free: 7.066 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1483, allocations: 0 / 0.5927 GB, free: 7.066 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.1487, allocations: 0.5195 MB / 0.5932 GB, free: 6.492 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1488, allocations: 4 kB / 0.5932 GB, free: 6.488 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.882e-05/0.1488, allocations: 35.91 kB / 0.5933 GB, free: 6.453 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.1489, allocations: 35.83 kB / 0.5933 GB, free: 6.418 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1489, allocations: 4 kB / 0.5933 GB, free: 6.414 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1489, allocations: 8 kB / 0.5933 GB, free: 6.406 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1489, allocations: 0 / 0.5933 GB, free: 6.406 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1489, allocations: 4 kB / 0.5933 GB, free: 6.402 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.1491, allocations: 303.8 kB / 0.5936 GB, free: 6.059 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1491, allocations: 4.094 kB / 0.5936 GB, free: 6.055 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.1492, allocations: 12 kB / 0.5936 GB, free: 6.043 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.1492, allocations: 11.97 kB / 0.5936 GB, free: 6.031 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1492, allocations: 12 kB / 0.5937 GB, free: 6.02 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.1493, allocations: 74.77 kB / 0.5937 GB, free: 5.941 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1493, allocations: 0 / 0.5937 GB, free: 5.941 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002356/0.1495, allocations: 115.6 kB / 0.5938 GB, free: 5.828 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.0002424/0.1497, allocations: 152.2 kB / 0.594 GB, free: 5.672 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1499, allocations: 82.66 kB / 0.5941 GB, free: 5.59 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.1499, allocations: 0 / 0.5941 GB, free: 5.59 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.1499, allocations: 61.45 kB / 0.5941 GB, free: 5.527 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.1504, allocations: 0.6818 MB / 0.5948 GB, free: 4.723 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1524, allocations: 0.5772 MB / 0.5953 GB, free: 4.094 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.1525, allocations: 100.3 kB / 0.5954 GB, free: 3.977 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.1526, allocations: 41.88 kB / 0.5955 GB, free: 3.93 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.1528, allocations: 143.1 kB / 0.5956 GB, free: 3.789 MB / 0.573 GB Notification: Performance of SimCode: time 6.82e-07/0.1528, allocations: 0 / 0.5956 GB, free: 3.789 MB / 0.573 GB Notification: Performance of Templates: time 0.007385/0.1602, allocations: 5.855 MB / 0.6013 GB, free: 14.07 MB / 0.5886 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: 3.8611479569226503]