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.0008708/0.0008708, 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.00132/0.00132, allocations: 173 kB / 23.03 MB, free: 1.547 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.8554/0.8554, allocations: 154.9 MB / 414.8 MB, free: 432 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.513e-06/1.513e-06, allocations: 0 / 0.5207 GB, free: 1.809 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.615e-05, allocations: 5.062 kB / 0.5207 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1354/0.1354, allocations: 146.6 MB / 0.6639 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1374, allocations: 1.286 MB / 0.6651 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.1377, allocations: 19.81 kB / 0.6652 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.138, allocations: 83.33 kB / 0.6652 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009245/0.1389, allocations: 401.7 kB / 0.6656 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.1398, allocations: 474.7 kB / 0.6661 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007063/0.1405, allocations: 0.7175 MB / 0.6668 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.1409, allocations: 189.4 kB / 0.6669 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.1415, allocations: 394.9 kB / 0.6673 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.1417, allocations: 199.4 kB / 0.6675 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.1417, allocations: 20 kB / 0.6675 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.1422, allocations: 311.1 kB / 0.6678 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1423, allocations: 123.6 kB / 0.6679 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.1424, allocations: 119.7 kB / 0.6681 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.1429, allocations: 442.6 kB / 0.6685 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1429, allocations: 0 / 0.6685 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1429, allocations: 0 / 0.6685 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1429, allocations: 0 / 0.6685 GB, free: 10.13 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000647/0.1436, allocations: 0.6708 MB / 0.6691 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1436, allocations: 8.031 kB / 0.6691 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006661/0.1443, allocations: 212.1 kB / 0.6694 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.1446, allocations: 271.5 kB / 0.6696 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1446, allocations: 20.44 kB / 0.6696 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1446, allocations: 23.94 kB / 0.6697 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.1449, allocations: 236 kB / 0.6699 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1449, allocations: 3.984 kB / 0.6699 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1449, allocations: 12 kB / 0.6699 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.145, allocations: 4 kB / 0.6699 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1451, allocations: 92.98 kB / 0.67 GB, free: 8.508 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.0009113/0.146, allocations: 1.15 MB / 0.6711 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1462, allocations: 98.91 kB / 0.6712 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.1462, allocations: 43.67 kB / 0.6712 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.1464, allocations: 51.94 kB / 0.6713 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1465, allocations: 37.39 kB / 0.6713 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.1465, allocations: 4 kB / 0.6713 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.000439/0.1469, allocations: 175.2 kB / 0.6715 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1469, allocations: 51.41 kB / 0.6715 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1471, allocations: 298.3 kB / 0.6718 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1471, allocations: 29.7 kB / 0.6719 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1472, allocations: 242.9 kB / 0.6721 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1473, allocations: 67.44 kB / 0.6722 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.1473, allocations: 51.36 kB / 0.6722 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1474, allocations: 0.5117 MB / 0.6727 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.1475, allocations: 23.98 kB / 0.6727 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1476, allocations: 170.5 kB / 0.6729 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1478, allocations: 127.6 kB / 0.673 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1478, allocations: 3.938 kB / 0.673 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002067/0.148, allocations: 179.3 kB / 0.6732 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.148, allocations: 8 kB / 0.6732 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.148, allocations: 0 / 0.6732 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.148, allocations: 4 kB / 0.6732 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1481, allocations: 43.97 kB / 0.6732 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1481, allocations: 7.938 kB / 0.6732 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.1482, allocations: 15.84 kB / 0.6733 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.1482, allocations: 12 kB / 0.6733 GB, free: 4.922 MB / 0.6355 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 8.576e-05/0.1483, allocations: 168.5 kB / 0.6734 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1484, allocations: 27.92 kB / 0.6735 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.1486, allocations: 153.8 kB / 0.6736 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1486, allocations: 4 kB / 0.6736 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1486, allocations: 0 / 0.6736 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1486, allocations: 3.984 kB / 0.6736 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.1491, allocations: 0.5807 MB / 0.6742 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1491, allocations: 4.219 kB / 0.6742 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.1492, allocations: 35.97 kB / 0.6742 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1492, allocations: 4 kB / 0.6742 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1492, allocations: 12 kB / 0.6742 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1492, allocations: 3.938 kB / 0.6742 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1492, allocations: 7.938 kB / 0.6742 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.1495, allocations: 369.4 kB / 0.6746 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.1496, allocations: 39.77 kB / 0.6746 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.1496, allocations: 8 kB / 0.6746 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.1497, allocations: 4 kB / 0.6747 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.1498, allocations: 27.94 kB / 0.6747 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.1498, allocations: 4 kB / 0.6747 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000109/0.1499, allocations: 207 kB / 0.6749 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1499, allocations: 0 / 0.6749 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002767/0.1502, allocations: 99.7 kB / 0.675 GB, free: 3.047 MB / 0.6355 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.000241/0.1504, allocations: 135.1 kB / 0.6751 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.1506, allocations: 105.5 kB / 0.6752 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1506, allocations: 0 / 0.6752 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.1507, allocations: 59.53 kB / 0.6753 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.1511, allocations: 121.3 kB / 0.6754 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1522, allocations: 0.5943 MB / 0.676 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.183e-05/0.1522, allocations: 100.2 kB / 0.6761 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.1523, allocations: 50.25 kB / 0.6761 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.1524, allocations: 20.5 kB / 0.6761 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.1524, allocations: 4 kB / 0.6761 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of Templates: time 0.272/0.4243, allocations: 5.025 MB / 0.681 GB, free: 61.5 MB / 0.6355 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.316403366159648]