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.001343/0.001343, allocations: 93.06 kB / 19.65 MB, free: 280 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.001538/0.001538, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.05/1.05, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8642/0.8642, allocations: 154.8 MB / 414.7 MB, free: 500 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.884e-06/1.884e-06, allocations: 0 / 0.5206 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.636e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1384/0.1385, allocations: 146.8 MB / 0.6639 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.141, allocations: 2.304 MB / 0.6662 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.1412, allocations: 15.88 kB / 0.6662 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.1415, allocations: 103.1 kB / 0.6663 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.1426, allocations: 0.6606 MB / 0.6669 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.1434, allocations: 0.5182 MB / 0.6674 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.144, allocations: 0.7522 MB / 0.6682 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.1443, allocations: 239.5 kB / 0.6684 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.1447, allocations: 399 kB / 0.6688 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.1453, allocations: 418.8 kB / 0.6692 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.1453, allocations: 28 kB / 0.6692 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.1458, allocations: 474.7 kB / 0.6696 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.1459, allocations: 127.6 kB / 0.6698 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.146, allocations: 119.8 kB / 0.6699 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.1466, allocations: 0.5373 MB / 0.6704 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1466, allocations: 0 / 0.6704 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.664e-06/0.1466, allocations: 7.938 kB / 0.6704 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1466, allocations: 0 / 0.6704 GB, free: 8.191 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.0006702/0.1473, allocations: 0.6788 MB / 0.6711 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1473, allocations: 8.031 kB / 0.6711 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.1479, allocations: 188.1 kB / 0.6713 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1482, allocations: 291.4 kB / 0.6715 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/0.1483, allocations: 72.62 kB / 0.6716 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.1483, allocations: 35.94 kB / 0.6716 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1487, allocations: 315.8 kB / 0.6719 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1487, allocations: 0 / 0.6719 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.1487, allocations: 12 kB / 0.672 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1487, allocations: 4 kB / 0.672 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1489, allocations: 122.9 kB / 0.6721 GB, free: 6.379 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.001049/0.15, allocations: 1.264 MB / 0.6733 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1501, allocations: 87.08 kB / 0.6734 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.1502, allocations: 39.67 kB / 0.6734 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.1505, allocations: 83.91 kB / 0.6735 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1505, allocations: 37.39 kB / 0.6735 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.153e-06/0.1505, allocations: 0 / 0.6735 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003663/0.1508, allocations: 169.3 kB / 0.6737 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.1509, allocations: 63.28 kB / 0.6738 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.151, allocations: 280.3 kB / 0.674 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1511, allocations: 25.7 kB / 0.6741 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1512, allocations: 251.2 kB / 0.6743 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1512, allocations: 47.53 kB / 0.6743 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1513, allocations: 47.36 kB / 0.6744 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1514, allocations: 0.5079 MB / 0.6749 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.1514, allocations: 27.94 kB / 0.6749 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1515, allocations: 172.4 kB / 0.6751 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1517, allocations: 125.7 kB / 0.6752 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1517, allocations: 0 / 0.6752 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002173/0.1519, allocations: 161.3 kB / 0.6753 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1519, allocations: 4 kB / 0.6754 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1519, allocations: 8.188 kB / 0.6754 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1519, allocations: 0 / 0.6754 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1521, allocations: 47.91 kB / 0.6754 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.1521, allocations: 11.92 kB / 0.6754 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.1521, allocations: 11.89 kB / 0.6754 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.1522, allocations: 12 kB / 0.6754 GB, free: 2.699 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 8.647e-05/0.1522, allocations: 168.5 kB / 0.6756 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.1523, allocations: 31.84 kB / 0.6756 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.1525, allocations: 153.4 kB / 0.6758 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1526, allocations: 4 kB / 0.6758 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1526, allocations: 3.938 kB / 0.6758 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1526, allocations: 7.984 kB / 0.6758 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.1531, allocations: 0.608 MB / 0.6764 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1531, allocations: 0 / 0.6764 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.026e-05/0.1532, allocations: 31.92 kB / 0.6764 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1532, allocations: 4 kB / 0.6764 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1532, allocations: 4 kB / 0.6764 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1532, allocations: 8.156 kB / 0.6764 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1532, allocations: 4 kB / 0.6764 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1534, allocations: 341.4 kB / 0.6768 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.1535, allocations: 43.77 kB / 0.6768 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1535, allocations: 8 kB / 0.6768 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.1536, allocations: 11.98 kB / 0.6768 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.1537, allocations: 15.98 kB / 0.6768 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1537, allocations: 11.98 kB / 0.6768 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.405e-05/0.1538, allocations: 201.1 kB / 0.677 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1538, allocations: 4 kB / 0.677 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002706/0.154, allocations: 103.7 kB / 0.6771 GB, free: 0.8164 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.0002504/0.1543, allocations: 171 kB / 0.6773 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1545, allocations: 98.39 kB / 0.6774 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1545, allocations: 0 / 0.6774 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.163e-05/0.1545, allocations: 55.53 kB / 0.6775 GB, free: 496 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.1549, allocations: 106 kB / 0.6776 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2437/0.3986, allocations: 0.5582 MB / 0.6781 GB, free: 61.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.868e-05/0.3987, allocations: 105 kB / 0.6782 GB, free: 61.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.3989, allocations: 52.67 kB / 0.6782 GB, free: 61.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.3989, allocations: 26.19 kB / 0.6783 GB, free: 61.35 MB / 0.6355 GB Notification: Performance of SimCode: time 1.222e-06/0.3989, allocations: 1 kB / 0.6783 GB, free: 61.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.006733/0.4057, allocations: 5.15 MB / 0.6833 GB, free: 61.14 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.526485771872103]