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.001849/0.001849, allocations: 93.47 kB / 19.44 MB, free: 340 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.002008/0.002008, allocations: 169.2 kB / 22.76 MB, free: 1.668 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 178] 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 1.339/1.339, allocations: 154.8 MB / 414.4 MB, free: 400 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 178] 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.323e-06/1.323e-06, allocations: 0 / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.371e-05, allocations: 2.812 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5352/0.5353, allocations: 165.7 MB / 0.6817 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007538/0.5428, allocations: 7.398 MB / 0.6889 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.5433, allocations: 22.41 kB / 0.689 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.5439, allocations: 173.7 kB / 0.6891 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.547, allocations: 1.329 MB / 0.6904 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.5486, allocations: 0.7086 MB / 0.6911 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.5495, allocations: 0.754 MB / 0.6919 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.5498, allocations: 247.1 kB / 0.6921 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.5513, allocations: 0.8441 MB / 0.6929 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/0.5521, allocations: 415 kB / 0.6933 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.426e-05/0.5521, allocations: 25.28 kB / 0.6933 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.5539, allocations: 1.054 MB / 0.6944 GB, free: 46.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.554, allocations: 130.6 kB / 0.6945 GB, free: 46.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.5541, allocations: 123 kB / 0.6946 GB, free: 46.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.5554, allocations: 0.9279 MB / 0.6955 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5554, allocations: 0 / 0.6955 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5554, allocations: 2.016 kB / 0.6955 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.5554, allocations: 0 / 0.6955 GB, free: 46.85 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.0008255/0.5562, allocations: 0.7447 MB / 0.6962 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.5563, allocations: 9.062 kB / 0.6963 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009816/0.5572, allocations: 188.5 kB / 0.6964 GB, free: 46.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.5576, allocations: 287.9 kB / 0.6967 GB, free: 46.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.5577, allocations: 76.39 kB / 0.6968 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.5578, allocations: 27.62 kB / 0.6968 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.5583, allocations: 357.1 kB / 0.6971 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.5583, allocations: 0 / 0.6971 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.5583, allocations: 12.88 kB / 0.6972 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.5583, allocations: 8.812 kB / 0.6972 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.5586, allocations: 174.6 kB / 0.6973 GB, free: 45.92 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.001423/0.5601, allocations: 1.317 MB / 0.6986 GB, free: 45.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.5603, allocations: 121.5 kB / 0.6987 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.5605, allocations: 64.8 kB / 0.6988 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006922/0.5612, allocations: 132.9 kB / 0.6989 GB, free: 45.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.5612, allocations: 40.98 kB / 0.699 GB, free: 45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.5612, allocations: 0 / 0.699 GB, free: 45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0007123/0.5619, allocations: 239.6 kB / 0.6992 GB, free: 44.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.5619, allocations: 55.25 kB / 0.6992 GB, free: 44.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.5621, allocations: 318.1 kB / 0.6995 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.5621, allocations: 30.27 kB / 0.6996 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.5622, allocations: 253.2 kB / 0.6998 GB, free: 44.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.5622, allocations: 56.61 kB / 0.6999 GB, free: 44.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.5623, allocations: 50.47 kB / 0.6999 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.5624, allocations: 0.5189 MB / 0.7004 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.5625, allocations: 42.39 kB / 0.7005 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.5627, allocations: 206.8 kB / 0.7007 GB, free: 43.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.5629, allocations: 178.3 kB / 0.7008 GB, free: 43.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5629, allocations: 0.9062 kB / 0.7008 GB, free: 43.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004193/0.5634, allocations: 213.8 kB / 0.701 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.5634, allocations: 6.438 kB / 0.701 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5634, allocations: 6.25 kB / 0.7011 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5634, allocations: 3.5 kB / 0.7011 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.5636, allocations: 39.55 kB / 0.7011 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5636, allocations: 3.719 kB / 0.7011 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.5637, allocations: 20.64 kB / 0.7011 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.5638, allocations: 9.5 kB / 0.7011 GB, free: 43.64 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.0001198/0.5639, allocations: 195.2 kB / 0.7013 GB, free: 43.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.564, allocations: 33.92 kB / 0.7013 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/0.5645, allocations: 220.2 kB / 0.7016 GB, free: 43.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5645, allocations: 3.688 kB / 0.7016 GB, free: 43.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.5645, allocations: 0 / 0.7016 GB, free: 43.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5645, allocations: 1.031 kB / 0.7016 GB, free: 43.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/0.5655, allocations: 0.7097 MB / 0.7023 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5655, allocations: 4.656 kB / 0.7023 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.5657, allocations: 35.25 kB / 0.7023 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5657, allocations: 3.812 kB / 0.7023 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.5657, allocations: 8.969 kB / 0.7023 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5657, allocations: 5.781 kB / 0.7023 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5657, allocations: 3.375 kB / 0.7023 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.5661, allocations: 399.8 kB / 0.7027 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5663, allocations: 47.66 kB / 0.7027 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.5663, allocations: 3.984 kB / 0.7027 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.5665, allocations: 13.72 kB / 0.7028 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.5665, allocations: 26 kB / 0.7028 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.5666, allocations: 9.281 kB / 0.7028 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001179/0.5667, allocations: 215.5 kB / 0.703 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5667, allocations: 0.9375 kB / 0.703 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005245/0.5672, allocations: 132.3 kB / 0.7031 GB, free: 42.59 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 (16): * Single equations (assignments): 16 * 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.0004003/0.5676, allocations: 221.9 kB / 0.7033 GB, free: 42.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.568, allocations: 150.5 kB / 0.7035 GB, free: 42.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.568, allocations: 0 / 0.7035 GB, free: 42.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.5681, allocations: 86.02 kB / 0.7036 GB, free: 42.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006794/0.5688, allocations: 122.3 kB / 0.7037 GB, free: 42.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.5697, allocations: 0.5793 MB / 0.7042 GB, free: 42.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.5698, allocations: 176.3 kB / 0.7044 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.57, allocations: 65.91 kB / 0.7045 GB, free: 42.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.5701, allocations: 24.69 kB / 0.7045 GB, free: 42 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.5701, allocations: 0.7812 kB / 0.7045 GB, free: 42 MB / 0.6355 GB Notification: Performance of Templates: time 0.0105/0.5806, allocations: 6.091 MB / 0.7104 GB, free: 41.6 MB / 0.6355 GB " [Timeout remaining time 659] 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: 6.991223559016362]