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.001501/0.001501, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001048/0.001048, 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.9379/0.9379, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.8089/0.8089, allocations: 154.9 MB / 415.1 MB, free: 264 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 2.034e-06/2.034e-06, allocations: 0.5469 kB / 0.5211 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.156e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1375/0.1376, allocations: 143.9 MB / 0.6616 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002432/0.14, allocations: 1.291 MB / 0.6629 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.1403, allocations: 15.81 kB / 0.6629 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.1407, allocations: 83.28 kB / 0.663 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.1416, allocations: 409.6 kB / 0.6634 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1427, allocations: 466.7 kB / 0.6638 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009028/0.1436, allocations: 0.7214 MB / 0.6645 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.144, allocations: 193.4 kB / 0.6647 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007055/0.1447, allocations: 386.9 kB / 0.6651 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.145, allocations: 203.4 kB / 0.6653 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.145, allocations: 24 kB / 0.6653 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006031/0.1456, allocations: 303.1 kB / 0.6656 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1458, allocations: 123.6 kB / 0.6657 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1459, allocations: 123.7 kB / 0.6658 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006719/0.1466, allocations: 442.5 kB / 0.6663 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1466, allocations: 0 / 0.6663 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1466, allocations: 0 / 0.6663 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1466, allocations: 0 / 0.6663 GB, free: 12.54 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.0007944/0.1474, allocations: 0.6708 MB / 0.6669 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1474, allocations: 12.03 kB / 0.6669 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008972/0.1483, allocations: 212.1 kB / 0.6671 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.1487, allocations: 267.5 kB / 0.6674 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.1487, allocations: 24.44 kB / 0.6674 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1487, allocations: 24 kB / 0.6674 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.1491, allocations: 223.9 kB / 0.6676 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1491, allocations: 0 / 0.6676 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1491, allocations: 8 kB / 0.6677 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1491, allocations: 4 kB / 0.6677 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1492, allocations: 76.98 kB / 0.6677 GB, free: 10.95 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.001067/0.1503, allocations: 1.103 MB / 0.6688 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1504, allocations: 86.95 kB / 0.6689 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.1505, allocations: 35.61 kB / 0.6689 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/0.1507, allocations: 55.88 kB / 0.669 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1507, allocations: 41.39 kB / 0.669 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 2.234e-06/0.1507, allocations: 0 / 0.669 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0003672/0.1511, allocations: 159.8 kB / 0.6692 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.1511, allocations: 55.41 kB / 0.6692 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1513, allocations: 298.2 kB / 0.6695 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1513, allocations: 25.7 kB / 0.6695 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1515, allocations: 238.9 kB / 0.6698 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.1515, allocations: 75.33 kB / 0.6698 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.1516, allocations: 51.34 kB / 0.6699 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1517, allocations: 0.5118 MB / 0.6704 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.1518, allocations: 19.98 kB / 0.6704 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1519, allocations: 166.4 kB / 0.6706 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1521, allocations: 114 kB / 0.6707 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1521, allocations: 0 / 0.6707 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002406/0.1523, allocations: 162.1 kB / 0.6708 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1523, allocations: 4 kB / 0.6708 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1523, allocations: 12.03 kB / 0.6708 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1523, allocations: 3.938 kB / 0.6708 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1525, allocations: 43.98 kB / 0.6709 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1525, allocations: 0 / 0.6709 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1526, allocations: 23.83 kB / 0.6709 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.1526, allocations: 12 kB / 0.6709 GB, free: 7.477 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 0.0001317/0.1528, allocations: 164.5 kB / 0.6711 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.1528, allocations: 35.8 kB / 0.6711 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.1531, allocations: 135.6 kB / 0.6712 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1531, allocations: 8 kB / 0.6712 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1531, allocations: 0 / 0.6712 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1531, allocations: 0 / 0.6712 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006986/0.1538, allocations: 0.5266 MB / 0.6718 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1538, allocations: 0 / 0.6718 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.1539, allocations: 31.98 kB / 0.6718 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1539, allocations: 4.219 kB / 0.6718 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1539, allocations: 8 kB / 0.6718 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1539, allocations: 4 kB / 0.6718 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.1539, allocations: 7.938 kB / 0.6718 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.1543, allocations: 360.9 kB / 0.6722 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.1543, allocations: 43.77 kB / 0.6722 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.1544, allocations: 8 kB / 0.6722 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1545, allocations: 8 kB / 0.6722 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.1545, allocations: 19.91 kB / 0.6722 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1545, allocations: 8 kB / 0.6722 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001218/0.1547, allocations: 207 kB / 0.6724 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1547, allocations: 0 / 0.6724 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003793/0.155, allocations: 95.78 kB / 0.6725 GB, free: 5.699 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.0002319/0.1553, allocations: 127.1 kB / 0.6726 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1554, allocations: 91.5 kB / 0.6727 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1555, allocations: 8.188 kB / 0.6727 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.1555, allocations: 47.53 kB / 0.6728 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/0.1591, allocations: 135.6 kB / 0.6729 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1602, allocations: 0.5902 MB / 0.6735 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.909e-05/0.1603, allocations: 100.2 kB / 0.6736 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.1604, allocations: 34.27 kB / 0.6736 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.1607, allocations: 158.1 kB / 0.6738 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.1607, allocations: 0 / 0.6738 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of Templates: time 0.2828/0.4434, allocations: 5.104 MB / 0.6788 GB, free: 64.04 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.191495324019343]