Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009924/0.0009924, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001041/0.001041, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9513/0.9513, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7953/0.7953, allocations: 154.6 MB / 415.6 MB, free: 0.5312 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 4 kB / 0.5216 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.593e-05, allocations: 5.703 kB / 0.5216 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1413/0.1414, allocations: 143.9 MB / 0.662 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1436, allocations: 1.284 MB / 0.6633 GB, free: 376 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.1439, allocations: 19.81 kB / 0.6633 GB, free: 356 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.1443, allocations: 87.28 kB / 0.6634 GB, free: 268 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000928/0.1452, allocations: 397.7 kB / 0.6638 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1462, allocations: 478.7 kB / 0.6642 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007583/0.147, allocations: 0.7136 MB / 0.6649 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.1473, allocations: 197.4 kB / 0.6651 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.1479, allocations: 386.9 kB / 0.6655 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.1481, allocations: 203.4 kB / 0.6657 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.1482, allocations: 24 kB / 0.6657 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.1487, allocations: 307.1 kB / 0.666 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1488, allocations: 119.6 kB / 0.6661 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1489, allocations: 127.7 kB / 0.6662 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.1505, allocations: 442.5 kB / 0.6667 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1505, allocations: 0 / 0.6667 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1505, allocations: 0 / 0.6667 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1505, allocations: 0 / 0.6667 GB, free: 12.91 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.001077/0.1516, allocations: 0.667 MB / 0.6673 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1516, allocations: 12.03 kB / 0.6673 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009019/0.1525, allocations: 212 kB / 0.6675 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.1529, allocations: 267.5 kB / 0.6678 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1529, allocations: 20.44 kB / 0.6678 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1529, allocations: 28 kB / 0.6678 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.1532, allocations: 223.9 kB / 0.668 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1533, allocations: 0 / 0.668 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1533, allocations: 12 kB / 0.668 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1533, allocations: 4 kB / 0.6681 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1534, allocations: 72.98 kB / 0.6681 GB, free: 11.33 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.001007/0.1544, allocations: 1.096 MB / 0.6692 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1545, allocations: 94.94 kB / 0.6693 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.1546, allocations: 39.61 kB / 0.6693 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.1548, allocations: 47.94 kB / 0.6694 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1548, allocations: 37.33 kB / 0.6694 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 2.275e-06/0.1548, allocations: 0 / 0.6694 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0003703/0.1552, allocations: 167.3 kB / 0.6696 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.1553, allocations: 55.39 kB / 0.6696 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1554, allocations: 294.2 kB / 0.6699 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1555, allocations: 29.7 kB / 0.6699 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1556, allocations: 234.9 kB / 0.6701 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.1556, allocations: 71.41 kB / 0.6702 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.1557, allocations: 55.34 kB / 0.6703 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1559, allocations: 0.504 MB / 0.6708 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.1559, allocations: 19.98 kB / 0.6708 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.156, allocations: 174.4 kB / 0.6709 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1562, allocations: 115.9 kB / 0.6711 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1562, allocations: 0 / 0.6711 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002406/0.1564, allocations: 157.3 kB / 0.6712 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1564, allocations: 8 kB / 0.6712 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1564, allocations: 0 / 0.6712 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1565, allocations: 4.094 kB / 0.6712 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1566, allocations: 43.92 kB / 0.6713 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1566, allocations: 4 kB / 0.6713 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.1567, allocations: 27.83 kB / 0.6713 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1567, allocations: 4 kB / 0.6713 GB, free: 7.871 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 9.612e-05/0.1568, allocations: 168.5 kB / 0.6715 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1568, allocations: 31.8 kB / 0.6715 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.1571, allocations: 142.2 kB / 0.6716 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1571, allocations: 3.938 kB / 0.6716 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1571, allocations: 4 kB / 0.6716 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1571, allocations: 4 kB / 0.6716 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.1576, allocations: 0.5305 MB / 0.6722 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1576, allocations: 0 / 0.6722 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-05/0.1577, allocations: 31.92 kB / 0.6722 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1577, allocations: 4 kB / 0.6722 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1577, allocations: 7.938 kB / 0.6722 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1577, allocations: 8.219 kB / 0.6722 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1577, allocations: 0 / 0.6722 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.1581, allocations: 361.3 kB / 0.6725 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.1581, allocations: 39.77 kB / 0.6726 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.1582, allocations: 8 kB / 0.6726 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1583, allocations: 8.141 kB / 0.6726 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.1584, allocations: 27.83 kB / 0.6726 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1584, allocations: 8 kB / 0.6726 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001556/0.1585, allocations: 202.9 kB / 0.6728 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.1585, allocations: 4.031 kB / 0.6728 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004464/0.159, allocations: 91.78 kB / 0.6729 GB, free: 6.082 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.000243/0.1592, allocations: 131.1 kB / 0.673 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1594, allocations: 91.5 kB / 0.6731 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1594, allocations: 0 / 0.6731 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.1595, allocations: 61.44 kB / 0.6732 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.1602, allocations: 126.6 kB / 0.6733 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1615, allocations: 0.5932 MB / 0.6739 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.463e-05/0.1616, allocations: 100.3 kB / 0.674 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.1618, allocations: 38.45 kB / 0.674 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.1621, allocations: 154.1 kB / 0.6742 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/0.1621, allocations: 0 / 0.6742 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of Templates: time 0.2971/0.4592, allocations: 5.17 MB / 0.6792 GB, free: 64.54 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.246040537953377]