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.0009663/0.0009663, allocations: 80.94 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.001127/0.001127, 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 0.9717/0.9717, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.7968/0.7968, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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 1.753e-06/1.753e-06, allocations: 0.7656 kB / 480 MB, free: 6.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.766e-05, allocations: 6.047 kB / 480 MB, free: 6.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1479/0.148, allocations: 146 MB / 0.6113 GB, free: 4.855 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1498, allocations: 1.319 MB / 0.6126 GB, free: 3.535 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.1499, allocations: 15.88 kB / 0.6126 GB, free: 3.52 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1502, allocations: 83.22 kB / 0.6127 GB, free: 3.438 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006744/0.1509, allocations: 401.7 kB / 0.6131 GB, free: 3.043 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.1516, allocations: 466.7 kB / 0.6135 GB, free: 2.586 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.1521, allocations: 0.7214 MB / 0.6142 GB, free: 1.863 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.1524, allocations: 203.3 kB / 0.6144 GB, free: 1.66 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.1528, allocations: 382.9 kB / 0.6148 GB, free: 1.285 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.153, allocations: 191.4 kB / 0.615 GB, free: 1.098 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.153, allocations: 24 kB / 0.615 GB, free: 1.074 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.1534, allocations: 307.1 kB / 0.6153 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.1535, allocations: 119.6 kB / 0.6154 GB, free: 0.6562 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 9.016e-05/0.1536, allocations: 115.8 kB / 0.6155 GB, free: 0.543 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.154, allocations: 450.5 kB / 0.616 GB, free: 104 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.154, allocations: 0 / 0.616 GB, free: 104 kB / 0.573 GB Notification: Performance of FrontEnd: time 1.492e-06/0.154, allocations: 0 / 0.616 GB, free: 104 kB / 0.573 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.154, allocations: 0 / 0.616 GB, free: 104 kB / 0.573 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.0005615/0.1546, allocations: 0.5306 MB / 0.6165 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1546, allocations: 8.031 kB / 0.6165 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006202/0.1552, allocations: 216.2 kB / 0.6167 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1555, allocations: 252.6 kB / 0.6169 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1555, allocations: 20.44 kB / 0.6169 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.1555, allocations: 24 kB / 0.617 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1558, allocations: 224.5 kB / 0.6172 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1558, allocations: 4 kB / 0.6172 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1558, allocations: 16 kB / 0.6172 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1558, allocations: 4 kB / 0.6172 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.1559, allocations: 73.52 kB / 0.6173 GB, free: 14.68 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.0006787/0.1566, allocations: 0.7764 MB / 0.618 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1567, allocations: 124.9 kB / 0.6182 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.1567, allocations: 32 kB / 0.6182 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.1569, allocations: 59.78 kB / 0.6182 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1569, allocations: 38.5 kB / 0.6183 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.1569, allocations: 0 / 0.6183 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17): time 0.0002554/0.1572, allocations: 125.6 kB / 0.6184 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1572, allocations: 55.41 kB / 0.6184 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1573, allocations: 243 kB / 0.6187 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1574, allocations: 29.7 kB / 0.6187 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.1576, allocations: 168.7 kB / 0.6189 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1576, allocations: 59.47 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.1577, allocations: 45.64 kB / 0.619 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.1578, allocations: 342.8 kB / 0.6193 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.1578, allocations: 26.67 kB / 0.6193 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.1579, allocations: 146.2 kB / 0.6195 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.972e-05/0.158, allocations: 117.5 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.158, allocations: 0 / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001417/0.1581, allocations: 128.9 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1581, allocations: 5.875 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1581, allocations: 7.984 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1582, allocations: 0 / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1583, allocations: 43.92 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1583, allocations: 8.094 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.1583, allocations: 19.89 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1584, allocations: 4 kB / 0.6198 GB, free: 11.93 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.324e-05/0.1584, allocations: 132.5 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1585, allocations: 23.92 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.1586, allocations: 115.7 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1586, allocations: 0 / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1586, allocations: 7.938 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1586, allocations: 3.984 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.159, allocations: 0.5077 MB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.159, allocations: 0 / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.1591, allocations: 35.92 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1591, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1591, allocations: 8 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1591, allocations: 4 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1591, allocations: 0 / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.1593, allocations: 330 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1594, allocations: 39.72 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1594, allocations: 8 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.1595, allocations: 8 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1595, allocations: 19.84 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1595, allocations: 4 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.547e-05/0.1595, allocations: 84.64 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.1595, allocations: 0 / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002204/0.1598, allocations: 91.83 kB / 0.6212 GB, free: 10.41 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.0001817/0.16, allocations: 112.3 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1601, allocations: 88.55 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1601, allocations: 4 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.1601, allocations: 53.19 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1605, allocations: 117.5 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.1614, allocations: 0.5835 MB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.926e-05/0.1615, allocations: 100.3 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.235e-05/0.1615, allocations: 42.27 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.1617, allocations: 129.2 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.1617, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of Templates: time 0.007004/0.1687, allocations: 5.04 MB / 0.6273 GB, free: 4.219 MB / 0.5886 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: 3.917541447095573]