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.001365/0.001365, allocations: 89.06 kB / 19.64 MB, free: 272 kB / 13.93 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.00144/0.00144, allocations: 173 kB / 23.02 MB, free: 1.539 MB / 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.9856/0.9856, allocations: 177.1 MB / 203.4 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7907/0.7907, allocations: 154.9 MB / 414.8 MB, free: 388 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.944e-06/1.944e-06, allocations: 0 / 0.5207 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.304e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1289/0.1289, allocations: 146.8 MB / 0.664 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.1318, allocations: 2.302 MB / 0.6663 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.132, allocations: 19.81 kB / 0.6663 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.1326, allocations: 95.14 kB / 0.6664 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.134, allocations: 0.6606 MB / 0.667 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.1349, allocations: 0.5259 MB / 0.6675 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008148/0.1358, allocations: 0.7484 MB / 0.6683 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.1362, allocations: 247.4 kB / 0.6685 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000544/0.1367, allocations: 399 kB / 0.6689 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006064/0.1373, allocations: 418.8 kB / 0.6693 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.1374, allocations: 28 kB / 0.6693 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007184/0.1381, allocations: 470.7 kB / 0.6698 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1382, allocations: 131.6 kB / 0.6699 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1383, allocations: 123.7 kB / 0.67 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007614/0.1391, allocations: 0.5334 MB / 0.6705 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1391, allocations: 0 / 0.6705 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1391, allocations: 0 / 0.6705 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.1391, allocations: 4 kB / 0.6705 GB, free: 8.004 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.0007151/0.1398, allocations: 0.6865 MB / 0.6712 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1398, allocations: 8.031 kB / 0.6712 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.1404, allocations: 184.2 kB / 0.6714 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.1408, allocations: 299.3 kB / 0.6717 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.1409, allocations: 72.62 kB / 0.6717 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.1409, allocations: 31.94 kB / 0.6718 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.1413, allocations: 315.9 kB / 0.6721 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1413, allocations: 3.938 kB / 0.6721 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.1413, allocations: 12 kB / 0.6721 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1413, allocations: 4 kB / 0.6721 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.1415, allocations: 110.9 kB / 0.6722 GB, free: 6.191 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.001382/0.1429, allocations: 1.264 MB / 0.6734 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.1431, allocations: 79.16 kB / 0.6735 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.908e-05/0.1431, allocations: 53.91 kB / 0.6736 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.1435, allocations: 75.92 kB / 0.6736 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1435, allocations: 49.31 kB / 0.6737 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.1435, allocations: 0 / 0.6737 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004043/0.1439, allocations: 161.3 kB / 0.6738 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1439, allocations: 59.34 kB / 0.6739 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1441, allocations: 284.3 kB / 0.6742 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1441, allocations: 29.7 kB / 0.6742 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1442, allocations: 247.2 kB / 0.6744 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1442, allocations: 55.52 kB / 0.6745 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.1443, allocations: 47.36 kB / 0.6745 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1444, allocations: 0.5079 MB / 0.675 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.1445, allocations: 23.94 kB / 0.675 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1446, allocations: 172.9 kB / 0.6752 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1447, allocations: 125.7 kB / 0.6753 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1447, allocations: 0 / 0.6753 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002275/0.1449, allocations: 165.3 kB / 0.6755 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.145, allocations: 7.938 kB / 0.6755 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.145, allocations: 4 kB / 0.6755 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.145, allocations: 8.188 kB / 0.6755 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1451, allocations: 35.92 kB / 0.6755 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1451, allocations: 7.938 kB / 0.6755 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.1452, allocations: 19.88 kB / 0.6756 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.1452, allocations: 8 kB / 0.6756 GB, free: 2.504 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.687e-05/0.1453, allocations: 168.6 kB / 0.6757 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.1454, allocations: 23.86 kB / 0.6758 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.1456, allocations: 163.2 kB / 0.6759 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1456, allocations: 4 kB / 0.6759 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1457, allocations: 3.938 kB / 0.6759 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1457, allocations: 0 / 0.6759 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.1462, allocations: 0.5964 MB / 0.6765 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1462, allocations: 7.922 kB / 0.6765 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.1463, allocations: 27.98 kB / 0.6765 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1463, allocations: 4 kB / 0.6765 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1463, allocations: 8 kB / 0.6765 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1463, allocations: 0 / 0.6765 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.1463, allocations: 12.16 kB / 0.6766 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1466, allocations: 343.8 kB / 0.6769 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.1466, allocations: 43.77 kB / 0.6769 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.1467, allocations: 4 kB / 0.6769 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.1468, allocations: 15.98 kB / 0.6769 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.1468, allocations: 11.92 kB / 0.677 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1468, allocations: 12 kB / 0.677 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.922e-05/0.1469, allocations: 201 kB / 0.6772 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1469, allocations: 0 / 0.6772 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003383/0.1473, allocations: 107.7 kB / 0.6773 GB, free: 0.6367 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.0003097/0.1476, allocations: 178.9 kB / 0.6774 GB, free: 464 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1478, allocations: 98.52 kB / 0.6775 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1478, allocations: 4 kB / 0.6775 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.865e-05/0.1478, allocations: 47.67 kB / 0.6776 GB, free: 308 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1483, allocations: 118.5 kB / 0.6777 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2406/0.3889, allocations: 0.5619 MB / 0.6782 GB, free: 61.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.013e-05/0.389, allocations: 103.3 kB / 0.6783 GB, free: 61.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.3892, allocations: 55.08 kB / 0.6784 GB, free: 61.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.3893, allocations: 23.22 kB / 0.6784 GB, free: 61.2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.054e-06/0.3893, allocations: 1.781 kB / 0.6784 GB, free: 61.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.007776/0.3971, allocations: 5.677 MB / 0.684 GB, free: 60.93 MB / 0.6355 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: 4.330657952930778]