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.001016/0.001016, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001217/0.001217, allocations: 177 kB / 23.36 MB, free: 1.129 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.005/1.005, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.7912/0.7912, allocations: 154.9 MB / 415.1 MB, free: 232 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.402e-06/1.402e-06, allocations: 0 / 480.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.306e-05, allocations: 4.281 kB / 480.4 MB, free: 6.551 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1357/0.1357, allocations: 146.1 MB / 0.6118 GB, free: 4.285 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.1388, allocations: 2.335 MB / 0.6141 GB, free: 1.945 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.1391, allocations: 19.81 kB / 0.6141 GB, free: 1.926 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.1394, allocations: 87.27 kB / 0.6142 GB, free: 1.84 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.1408, allocations: 0.6683 MB / 0.6149 GB, free: 1.168 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009206/0.1417, allocations: 0.5298 MB / 0.6154 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0007448/0.1424, allocations: 0.7444 MB / 0.6161 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.1428, allocations: 253.3 kB / 0.6163 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.1433, allocations: 403 kB / 0.6167 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/0.1438, allocations: 386.9 kB / 0.6171 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.1439, allocations: 24 kB / 0.6171 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.1445, allocations: 482.6 kB / 0.6176 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1446, allocations: 127.6 kB / 0.6177 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.1447, allocations: 123.7 kB / 0.6178 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.1453, allocations: 0.5334 MB / 0.6183 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1453, allocations: 0 / 0.6183 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1453, allocations: 4 kB / 0.6183 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1453, allocations: 0 / 0.6183 GB, free: 13.59 MB / 0.5886 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.0005832/0.1459, allocations: 0.554 MB / 0.6189 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.1459, allocations: 8.031 kB / 0.6189 GB, free: 13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.1465, allocations: 184.3 kB / 0.6191 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.1468, allocations: 260.6 kB / 0.6193 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.1469, allocations: 80.62 kB / 0.6194 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.1469, allocations: 27.94 kB / 0.6194 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.1472, allocations: 296.5 kB / 0.6197 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1472, allocations: 3.938 kB / 0.6197 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.1472, allocations: 8 kB / 0.6197 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1472, allocations: 8 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1473, allocations: 94.17 kB / 0.6198 GB, free: 12 MB / 0.5886 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.001227/0.1486, allocations: 0.8654 MB / 0.6207 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1487, allocations: 122.9 kB / 0.6208 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.1488, allocations: 31.69 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.149, allocations: 71.92 kB / 0.6209 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.149, allocations: 34.56 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.364e-06/0.149, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003117/0.1493, allocations: 133.4 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.1494, allocations: 55.41 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1495, allocations: 217 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1495, allocations: 33.7 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.1496, allocations: 176.9 kB / 0.6215 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1496, allocations: 63.47 kB / 0.6216 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.1497, allocations: 41.69 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.1497, allocations: 334.7 kB / 0.6219 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.1498, allocations: 14.83 kB / 0.6219 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.1498, allocations: 151.1 kB / 0.6221 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.841e-05/0.1499, allocations: 102.5 kB / 0.6222 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1499, allocations: 0 / 0.6222 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001725/0.1501, allocations: 136.2 kB / 0.6223 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1501, allocations: 4 kB / 0.6223 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1501, allocations: 8.188 kB / 0.6223 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1502, allocations: 0 / 0.6223 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1503, allocations: 31.98 kB / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.1503, allocations: 4 kB / 0.6223 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.1503, allocations: 19.89 kB / 0.6224 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.1504, allocations: 11.98 kB / 0.6224 GB, free: 9.184 MB / 0.5886 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.99e-05/0.1504, allocations: 124.5 kB / 0.6225 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.1505, allocations: 19.98 kB / 0.6225 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.1507, allocations: 142.2 kB / 0.6227 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1507, allocations: 0 / 0.6227 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1507, allocations: 0 / 0.6227 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1507, allocations: 4 kB / 0.6227 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.1512, allocations: 0.5194 MB / 0.6232 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1512, allocations: 4 kB / 0.6232 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.1512, allocations: 35.92 kB / 0.6232 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1512, allocations: 7.875 kB / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1512, allocations: 7.984 kB / 0.6232 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1512, allocations: 8.219 kB / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1512, allocations: 0 / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.1514, allocations: 304 kB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.1515, allocations: 31.83 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1515, allocations: 11.94 kB / 0.6236 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.1516, allocations: 4 kB / 0.6236 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1516, allocations: 27.94 kB / 0.6236 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1516, allocations: 4 kB / 0.6236 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.1517, allocations: 78.77 kB / 0.6237 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.1517, allocations: 4 kB / 0.6237 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002864/0.152, allocations: 115.6 kB / 0.6238 GB, free: 7.629 MB / 0.5886 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.000248/0.1522, allocations: 152.1 kB / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1523, allocations: 76.7 kB / 0.624 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1523, allocations: 4 kB / 0.624 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.1524, allocations: 48.7 kB / 0.624 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1527, allocations: 106.3 kB / 0.6241 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008307/0.1536, allocations: 0.5512 MB / 0.6247 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.501e-05/0.1536, allocations: 96.3 kB / 0.6248 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.991e-05/0.1537, allocations: 33.95 kB / 0.6248 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.1539, allocations: 139.2 kB / 0.6249 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.1539, allocations: 0 / 0.6249 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of Templates: time 0.007879/0.1618, allocations: 5.666 MB / 0.6305 GB, free: 0.8281 MB / 0.5886 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: 3.989254539832473]