Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.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.001258/0.001258, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001575/0.001575, allocations: 181 kB / 23.36 MB, free: 1.133 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8087/0.8087, allocations: 154.9 MB / 415.1 MB, free: 244 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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.943e-05, allocations: 6.312 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1379/0.1379, allocations: 146 MB / 0.6117 GB, free: 4.434 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1399, allocations: 1.325 MB / 0.613 GB, free: 3.105 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.1401, allocations: 15.81 kB / 0.613 GB, free: 3.09 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1404, allocations: 87.27 kB / 0.6131 GB, free: 3.004 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008017/0.1413, allocations: 393.7 kB / 0.6134 GB, free: 2.617 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008922/0.1421, allocations: 478.7 kB / 0.6139 GB, free: 2.148 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.1428, allocations: 0.7175 MB / 0.6146 GB, free: 1.426 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.1431, allocations: 203.3 kB / 0.6148 GB, free: 1.227 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.1436, allocations: 382.9 kB / 0.6152 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.1438, allocations: 195.4 kB / 0.6153 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.1439, allocations: 28 kB / 0.6154 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.1443, allocations: 303.1 kB / 0.6157 GB, free: 344 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1444, allocations: 123.6 kB / 0.6158 GB, free: 220 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.998e-05/0.1445, allocations: 111.8 kB / 0.6159 GB, free: 108 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004597/0.1449, allocations: 450.5 kB / 0.6163 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1449, allocations: 0 / 0.6163 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1449, allocations: 0 / 0.6163 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1449, allocations: 0 / 0.6163 GB, free: 15.66 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000586/0.1455, allocations: 0.5344 MB / 0.6168 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1455, allocations: 12.03 kB / 0.6168 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/0.1462, allocations: 208.3 kB / 0.617 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.1465, allocations: 248.5 kB / 0.6173 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1465, allocations: 28.44 kB / 0.6173 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.1465, allocations: 27.94 kB / 0.6173 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.1468, allocations: 216.6 kB / 0.6175 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1468, allocations: 0 / 0.6175 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1468, allocations: 12 kB / 0.6176 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1468, allocations: 4 kB / 0.6176 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/0.1469, allocations: 73.5 kB / 0.6176 GB, free: 14.25 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.0006926/0.1476, allocations: 0.7842 MB / 0.6184 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1477, allocations: 121.2 kB / 0.6185 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.1478, allocations: 35.98 kB / 0.6185 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004797/0.1482, allocations: 55.78 kB / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1483, allocations: 38.56 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.1483, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17): time 0.0002508/0.1485, allocations: 125.6 kB / 0.6188 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1485, allocations: 55.41 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.1487, allocations: 242.9 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1487, allocations: 29.7 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.1488, allocations: 168.7 kB / 0.6192 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.1488, allocations: 59.47 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.1489, allocations: 49.64 kB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.1489, allocations: 338.8 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/0.149, allocations: 23.44 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.1491, allocations: 150.1 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.1492, allocations: 107.3 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1492, allocations: 0 / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001383/0.1493, allocations: 135 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1493, allocations: 8 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1493, allocations: 4.094 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1493, allocations: 4 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1494, allocations: 39.98 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.1494, allocations: 11.92 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.1495, allocations: 15.83 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1495, allocations: 12 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.622e-05/0.1496, allocations: 116.7 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1496, allocations: 27.91 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.1498, allocations: 125 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1498, allocations: 4 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1498, allocations: 4 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1498, allocations: 144 / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.1502, allocations: 0.5076 MB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1502, allocations: 3.984 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/0.1503, allocations: 27.98 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1503, allocations: 4.219 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1503, allocations: 8 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1503, allocations: 3.984 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1503, allocations: 7.938 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1505, allocations: 325.8 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.1506, allocations: 39.72 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1506, allocations: 8 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.1506, allocations: 4 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1507, allocations: 23.91 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.1507, allocations: 4 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.671e-05/0.1508, allocations: 84.69 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.1508, allocations: 0 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000211/0.151, allocations: 95.81 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.0001967/0.1512, allocations: 112.2 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1513, allocations: 84.61 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1513, allocations: 4.188 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.1513, allocations: 48.7 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1517, allocations: 126.7 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.1526, allocations: 0.5872 MB / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.55e-05/0.1526, allocations: 104.2 kB / 0.6225 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.954e-05/0.1527, allocations: 30.3 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.1529, allocations: 125.3 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of SimCode: time 7.91e-07/0.1529, allocations: 0 / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of Templates: time 0.006899/0.1598, allocations: 5.046 MB / 0.6276 GB, free: 3.781 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.065985030960292]