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.000874/0.000874, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002061, allocations: 435.8 kB / 10.33 MB, free: 368 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.001609/0.001609, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008254/0.009862, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09047/1.094, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.7856/0.7856, allocations: 154.6 MB / 398.5 MB, free: 0.5312 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2499/1.036, allocations: 49.04 MB / 447.6 MB, free: 6.684 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 1.332e-06/1.332e-06, allocations: 0 / 448.9 MB, free: 5.367 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.933e-05, allocations: 2.938 kB / 448.9 MB, free: 5.363 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1461/0.1462, allocations: 146.6 MB / 0.5816 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.1489, allocations: 2.335 MB / 0.5838 GB, free: 372 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.1491, allocations: 19.81 kB / 0.5839 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.1496, allocations: 95.16 kB / 0.5839 GB, free: 256 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.1508, allocations: 0.6449 MB / 0.5846 GB, free: 15.6 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009247/0.1517, allocations: 0.5278 MB / 0.5851 GB, free: 15.07 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.1523, allocations: 0.7444 MB / 0.5858 GB, free: 14.32 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.1526, allocations: 239.5 kB / 0.586 GB, free: 14.09 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004783/0.1531, allocations: 411.7 kB / 0.5864 GB, free: 13.69 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.1536, allocations: 386.9 kB / 0.5868 GB, free: 13.31 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.1536, allocations: 28 kB / 0.5868 GB, free: 13.28 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.1544, allocations: 482.7 kB / 0.5873 GB, free: 12.81 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.1544, allocations: 107.7 kB / 0.5874 GB, free: 12.7 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.1545, allocations: 107.8 kB / 0.5875 GB, free: 12.6 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.1551, allocations: 474.5 kB / 0.588 GB, free: 12.13 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.1551, allocations: 0 / 0.588 GB, free: 12.13 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1551, allocations: 0 / 0.588 GB, free: 12.13 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.1551, allocations: 0 / 0.588 GB, free: 12.13 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.0007095/0.1558, allocations: 0.661 MB / 0.5886 GB, free: 11.45 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1559, allocations: 8.031 kB / 0.5886 GB, free: 11.44 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.1565, allocations: 265.4 kB / 0.5889 GB, free: 11.16 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.1568, allocations: 260.5 kB / 0.5891 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.1568, allocations: 72.06 kB / 0.5892 GB, free: 10.8 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1569, allocations: 28 kB / 0.5892 GB, free: 10.78 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.1572, allocations: 300.4 kB / 0.5895 GB, free: 10.46 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1572, allocations: 0 / 0.5895 GB, free: 10.46 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1572, allocations: 8 kB / 0.5895 GB, free: 10.45 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1572, allocations: 8 kB / 0.5895 GB, free: 10.44 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1573, allocations: 86.23 kB / 0.5896 GB, free: 10.36 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.0008678/0.1582, allocations: 0.8771 MB / 0.5904 GB, free: 9.445 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1584, allocations: 126.8 kB / 0.5906 GB, free: 9.309 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.1584, allocations: 35.67 kB / 0.5906 GB, free: 9.27 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.1586, allocations: 75.92 kB / 0.5907 GB, free: 9.195 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1587, allocations: 30.56 kB / 0.5907 GB, free: 9.156 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.1587, allocations: 0 / 0.5907 GB, free: 9.156 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0002927/0.159, allocations: 131.8 kB / 0.5908 GB, free: 9.023 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002624/0.1592, allocations: 59.34 kB / 0.5909 GB, free: 8.953 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1593, allocations: 229 kB / 0.5911 GB, free: 8.715 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1594, allocations: 29.7 kB / 0.5911 GB, free: 8.68 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.1594, allocations: 180.9 kB / 0.5913 GB, free: 8.496 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1595, allocations: 55.48 kB / 0.5914 GB, free: 8.441 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.1595, allocations: 45.67 kB / 0.5914 GB, free: 8.391 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.1596, allocations: 330.8 kB / 0.5917 GB, free: 8.059 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.1596, allocations: 18.81 kB / 0.5917 GB, free: 8.039 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.1597, allocations: 145.3 kB / 0.5919 GB, free: 7.859 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.866e-05/0.1598, allocations: 107.5 kB / 0.592 GB, free: 7.73 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1598, allocations: 4 kB / 0.592 GB, free: 7.727 MB / 0.573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001604/0.16, allocations: 120.3 kB / 0.5921 GB, free: 7.602 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.16, allocations: 4 kB / 0.5921 GB, free: 7.598 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.16, allocations: 4 kB / 0.5921 GB, free: 7.594 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.629e-06/0.16, allocations: 192 / 0.5921 GB, free: 7.594 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1601, allocations: 59.84 kB / 0.5922 GB, free: 7.535 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1601, allocations: 4 kB / 0.5922 GB, free: 7.531 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.1602, allocations: 19.89 kB / 0.5922 GB, free: 7.512 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.1602, allocations: 4 kB / 0.5922 GB, free: 7.508 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 7.697e-05/0.1603, allocations: 128.6 kB / 0.5923 GB, free: 7.371 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.1603, allocations: 19.98 kB / 0.5923 GB, free: 7.352 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.1605, allocations: 135.3 kB / 0.5925 GB, free: 7.215 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1605, allocations: 4 kB / 0.5925 GB, free: 7.211 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.1605, allocations: 3.938 kB / 0.5925 GB, free: 7.207 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1605, allocations: 0 / 0.5925 GB, free: 7.207 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.161, allocations: 0.5154 MB / 0.593 GB, free: 6.637 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.161, allocations: 4 kB / 0.593 GB, free: 6.633 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.899e-05/0.1611, allocations: 31.98 kB / 0.593 GB, free: 6.602 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.1612, allocations: 39.77 kB / 0.593 GB, free: 6.562 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1612, allocations: 4 kB / 0.593 GB, free: 6.559 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1612, allocations: 11.98 kB / 0.5931 GB, free: 6.547 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1612, allocations: 224 / 0.5931 GB, free: 6.547 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1612, allocations: 8 kB / 0.5931 GB, free: 6.539 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1614, allocations: 295.9 kB / 0.5933 GB, free: 6.203 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1614, allocations: 7.984 kB / 0.5933 GB, free: 6.195 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.1615, allocations: 8 kB / 0.5934 GB, free: 6.188 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.1615, allocations: 15.97 kB / 0.5934 GB, free: 6.172 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1615, allocations: 11.94 kB / 0.5934 GB, free: 6.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.1616, allocations: 74.77 kB / 0.5935 GB, free: 6.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1616, allocations: 0 / 0.5935 GB, free: 6.09 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002843/0.1618, allocations: 123.6 kB / 0.5936 GB, free: 5.969 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.0002766/0.1621, allocations: 156.1 kB / 0.5937 GB, free: 5.809 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.1623, allocations: 84.98 kB / 0.5938 GB, free: 5.727 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.1623, allocations: 4 kB / 0.5938 GB, free: 5.723 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.1623, allocations: 44.72 kB / 0.5938 GB, free: 5.676 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1627, allocations: 136.2 kB / 0.594 GB, free: 5.547 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.1648, allocations: 0.5656 MB / 0.5945 GB, free: 4.93 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.1649, allocations: 100.2 kB / 0.5946 GB, free: 4.812 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.165, allocations: 37.94 kB / 0.5947 GB, free: 4.773 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.1652, allocations: 131.2 kB / 0.5948 GB, free: 4.645 MB / 0.573 GB Notification: Performance of SimCode: time 1.032e-06/0.1652, allocations: 0 / 0.5948 GB, free: 4.645 MB / 0.573 GB Notification: Performance of Templates: time 0.008346/0.1736, allocations: 5.876 MB / 0.6005 GB, free: 14.9 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.811694729141891]