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.001699/0.001699, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002067/0.002067, allocations: 165.9 kB / 22.45 MB, free: 5.375 MB / 14.72 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.514/1.514, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.311/1.311, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 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 178] 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 2.545e-06/2.545e-06, allocations: 0 / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.35e-05/4.605e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.6278/0.6279, allocations: 147.6 MB / 0.7628 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.6314, allocations: 1.509 MB / 0.7642 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.6318, allocations: 16.12 kB / 0.7642 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006253/0.6324, allocations: 156.7 kB / 0.7644 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.6346, allocations: 0.7154 MB / 0.7651 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.6371, allocations: 0.6842 MB / 0.7658 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.6388, allocations: 0.7223 MB / 0.7665 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/0.6393, allocations: 198.2 kB / 0.7667 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.6413, allocations: 0.604 MB / 0.7672 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.6417, allocations: 195.5 kB / 0.7674 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.508e-05/0.6418, allocations: 23.34 kB / 0.7675 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.6436, allocations: 0.7271 MB / 0.7682 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.6437, allocations: 115.9 kB / 0.7683 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.6439, allocations: 117.5 kB / 0.7684 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.6452, allocations: 0.7421 MB / 0.7691 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6452, allocations: 0 / 0.7691 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6452, allocations: 0 / 0.7691 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6452, allocations: 0 / 0.7691 GB, free: 12.02 MB / 0.6231 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.001047/0.6462, allocations: 0.5992 MB / 0.7697 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.6463, allocations: 6.844 kB / 0.7697 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6475, allocations: 165.9 kB / 0.7699 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.648, allocations: 261.7 kB / 0.7701 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.6481, allocations: 19 kB / 0.7701 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.6481, allocations: 19.41 kB / 0.7702 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.6487, allocations: 284.5 kB / 0.7704 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.6487, allocations: 3.938 kB / 0.7704 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.6488, allocations: 10.8 kB / 0.7704 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.6488, allocations: 5.469 kB / 0.7704 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.6492, allocations: 201.3 kB / 0.7706 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.6508, allocations: 0.9339 MB / 0.7715 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.6511, allocations: 135.3 kB / 0.7717 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.6513, allocations: 90.17 kB / 0.7718 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/0.6518, allocations: 80.02 kB / 0.7718 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.6518, allocations: 33.06 kB / 0.7719 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.6518, allocations: 0 / 0.7719 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0008658/0.6527, allocations: 298 kB / 0.7722 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.6527, allocations: 53.94 kB / 0.7722 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.653, allocations: 269.2 kB / 0.7725 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-05/0.6531, allocations: 25.7 kB / 0.7725 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.6533, allocations: 188.6 kB / 0.7727 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/0.6534, allocations: 63.06 kB / 0.7727 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/0.6534, allocations: 44.92 kB / 0.7728 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.6536, allocations: 335.7 kB / 0.7731 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.6538, allocations: 69.52 kB / 0.7732 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.6541, allocations: 205.7 kB / 0.7734 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.6545, allocations: 194.9 kB / 0.7735 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6545, allocations: 2.781 kB / 0.7735 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005107/0.655, allocations: 253.2 kB / 0.7738 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.655, allocations: 9.766 kB / 0.7738 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6551, allocations: 6.125 kB / 0.7738 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.6551, allocations: 2.75 kB / 0.7738 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.6553, allocations: 42.77 kB / 0.7738 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.6553, allocations: 2.688 kB / 0.7738 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.6555, allocations: 24.12 kB / 0.7739 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.6555, allocations: 11.25 kB / 0.7739 GB, free: 8.371 MB / 0.6231 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.0001897/0.6557, allocations: 155 kB / 0.774 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.6558, allocations: 29.19 kB / 0.7741 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.6563, allocations: 229.2 kB / 0.7743 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6563, allocations: 0 / 0.7743 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6563, allocations: 3.625 kB / 0.7743 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6563, allocations: 2.531 kB / 0.7743 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.6575, allocations: 0.626 MB / 0.7749 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6576, allocations: 1.344 kB / 0.7749 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.6577, allocations: 36.06 kB / 0.7749 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.6577, allocations: 2.688 kB / 0.7749 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.6578, allocations: 6.656 kB / 0.7749 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.6578, allocations: 6.812 kB / 0.7749 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6578, allocations: 6.688 kB / 0.7749 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.6585, allocations: 440.5 kB / 0.7754 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.6586, allocations: 42.28 kB / 0.7754 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.6587, allocations: 6.812 kB / 0.7754 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.6589, allocations: 15.41 kB / 0.7754 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.6589, allocations: 21.88 kB / 0.7754 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.6589, allocations: 5.219 kB / 0.7755 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001944/0.6591, allocations: 188.4 kB / 0.7756 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6591, allocations: 0 / 0.7756 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000456/0.6596, allocations: 90.89 kB / 0.7757 GB, free: 7.023 MB / 0.6231 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.0003713/0.66, allocations: 146.8 kB / 0.7759 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.6605, allocations: 186.3 kB / 0.776 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6605, allocations: 0 / 0.776 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.6607, allocations: 93.75 kB / 0.7761 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.6614, allocations: 118.9 kB / 0.7762 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.6626, allocations: 0.5804 MB / 0.7768 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.6628, allocations: 177.4 kB / 0.777 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.663, allocations: 51.98 kB / 0.777 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.6631, allocations: 25.09 kB / 0.777 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.6631, allocations: 0 / 0.777 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of Templates: time 0.01107/0.6742, allocations: 4.802 MB / 0.7817 GB, free: 3.746 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7919783145189285] Failed to read output from testmodel.py, exit status != 0: 0.6862136945128441 0.697922594 0.049536262000000005 Calling exit ...