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.0009573/0.0009573, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009968/0.0009968, allocations: 169 kB / 23.27 MB, free: 1.223 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.9587/0.9587, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7982/0.7982, allocations: 154.9 MB / 415.1 MB, free: 248 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.874e-06/1.874e-06, allocations: 0 / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.352e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1288/0.1289, allocations: 144 MB / 0.6618 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.1318, allocations: 2.292 MB / 0.664 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.1321, allocations: 19.81 kB / 0.6641 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1325, allocations: 91.2 kB / 0.6641 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.1339, allocations: 0.6606 MB / 0.6648 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/0.1349, allocations: 0.5259 MB / 0.6653 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009452/0.1358, allocations: 0.7522 MB / 0.666 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.1363, allocations: 239.5 kB / 0.6663 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007328/0.1371, allocations: 407 kB / 0.6666 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/0.1378, allocations: 414.8 kB / 0.667 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.1378, allocations: 24 kB / 0.6671 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.1386, allocations: 478.7 kB / 0.6675 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1387, allocations: 119.6 kB / 0.6676 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1388, allocations: 127.7 kB / 0.6678 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008051/0.1397, allocations: 0.5373 MB / 0.6683 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1397, allocations: 0 / 0.6683 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1397, allocations: 0 / 0.6683 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1397, allocations: 0 / 0.6683 GB, free: 10.48 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.0006953/0.1404, allocations: 0.6904 MB / 0.669 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1404, allocations: 8.031 kB / 0.669 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/0.141, allocations: 184.1 kB / 0.6691 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.1414, allocations: 287.4 kB / 0.6694 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/0.1414, allocations: 80.62 kB / 0.6695 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.1415, allocations: 31.92 kB / 0.6695 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1418, allocations: 307.8 kB / 0.6698 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1418, allocations: 0 / 0.6698 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.1418, allocations: 12 kB / 0.6698 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1418, allocations: 4 kB / 0.6698 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.142, allocations: 91.36 kB / 0.6699 GB, free: 8.703 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.001153/0.1431, allocations: 1.202 MB / 0.6711 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1433, allocations: 79.08 kB / 0.6712 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.1433, allocations: 39.66 kB / 0.6712 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.1436, allocations: 87.84 kB / 0.6713 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1436, allocations: 37.33 kB / 0.6713 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.694e-06/0.1436, allocations: 0 / 0.6713 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003495/0.144, allocations: 155.7 kB / 0.6715 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.144, allocations: 51.41 kB / 0.6715 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.1442, allocations: 288.1 kB / 0.6718 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1442, allocations: 33.7 kB / 0.6718 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1443, allocations: 243.2 kB / 0.6721 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1443, allocations: 55.52 kB / 0.6721 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.1444, allocations: 51.34 kB / 0.6722 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1445, allocations: 0.5079 MB / 0.6727 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.1446, allocations: 19.94 kB / 0.6727 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1447, allocations: 168.8 kB / 0.6728 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1448, allocations: 113.7 kB / 0.6729 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1448, allocations: 3.984 kB / 0.6729 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002221/0.145, allocations: 145.4 kB / 0.6731 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1451, allocations: 4 kB / 0.6731 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1451, allocations: 7.984 kB / 0.6731 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1451, allocations: 8.188 kB / 0.6731 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1452, allocations: 39.92 kB / 0.6731 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1452, allocations: 7.984 kB / 0.6732 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.1453, allocations: 15.83 kB / 0.6732 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.1453, allocations: 12 kB / 0.6732 GB, free: 5.137 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 0.000109/0.1454, allocations: 168.5 kB / 0.6733 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.1455, allocations: 31.86 kB / 0.6734 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.1457, allocations: 151.3 kB / 0.6735 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1457, allocations: 4 kB / 0.6735 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.1457, allocations: 0 / 0.6735 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1457, allocations: 3.938 kB / 0.6735 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.1463, allocations: 0.5345 MB / 0.674 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1463, allocations: 4 kB / 0.674 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/0.1464, allocations: 31.98 kB / 0.6741 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1464, allocations: 3.938 kB / 0.6741 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1464, allocations: 4 kB / 0.6741 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1464, allocations: 7.938 kB / 0.6741 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1464, allocations: 8.219 kB / 0.6741 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1467, allocations: 338.3 kB / 0.6744 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.1467, allocations: 43.72 kB / 0.6745 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1468, allocations: 11.98 kB / 0.6745 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.1469, allocations: 4 kB / 0.6745 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.1469, allocations: 15.98 kB / 0.6745 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1469, allocations: 7.984 kB / 0.6745 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.501e-05/0.147, allocations: 193.1 kB / 0.6747 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.147, allocations: 0 / 0.6747 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000347/0.1473, allocations: 111.7 kB / 0.6748 GB, free: 3.355 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.0002811/0.1476, allocations: 175 kB / 0.675 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1478, allocations: 87.52 kB / 0.675 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1478, allocations: 0 / 0.675 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.1478, allocations: 51.61 kB / 0.6751 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.1482, allocations: 125.5 kB / 0.6752 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.1492, allocations: 0.5641 MB / 0.6758 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.888e-05/0.1493, allocations: 92.3 kB / 0.6759 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.1494, allocations: 45.86 kB / 0.6759 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.1496, allocations: 174.1 kB / 0.6761 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/0.1496, allocations: 0 / 0.6761 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of Templates: time 0.2469/0.3965, allocations: 5.728 MB / 0.6817 GB, free: 63.46 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.138229744974524]