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.001021/0.001021, allocations: 92.22 kB / 19.65 MB, free: 276 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.001133/0.001133, allocations: 173 kB / 23.02 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 0.9516/0.9516, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7996/0.7996, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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 2.094e-06/2.094e-06, allocations: 0 / 0.5203 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.256e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1326/0.1327, allocations: 146.6 MB / 0.6635 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1349, allocations: 1.292 MB / 0.6648 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.1352, allocations: 15.88 kB / 0.6648 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.1355, allocations: 95.2 kB / 0.6649 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000875/0.1364, allocations: 389.8 kB / 0.6652 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000953/0.1374, allocations: 470.7 kB / 0.6657 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.1382, allocations: 0.7175 MB / 0.6664 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007137/0.139, allocations: 205.4 kB / 0.6666 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.1396, allocations: 386.9 kB / 0.667 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1399, allocations: 199.4 kB / 0.6671 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.1399, allocations: 20 kB / 0.6672 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.1404, allocations: 307.2 kB / 0.6675 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1405, allocations: 119.6 kB / 0.6676 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1406, allocations: 123.7 kB / 0.6677 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.1412, allocations: 450.5 kB / 0.6681 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1412, allocations: 0 / 0.6681 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1412, allocations: 0 / 0.6681 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1412, allocations: 0 / 0.6681 GB, free: 10.5 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.0007383/0.142, allocations: 0.6592 MB / 0.6688 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.142, allocations: 8.031 kB / 0.6688 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007174/0.1427, allocations: 220 kB / 0.669 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.1432, allocations: 271.5 kB / 0.6692 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.1432, allocations: 20.44 kB / 0.6693 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.1433, allocations: 24 kB / 0.6693 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.1437, allocations: 239.9 kB / 0.6695 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1437, allocations: 4 kB / 0.6695 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.1437, allocations: 8 kB / 0.6695 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1437, allocations: 4 kB / 0.6695 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.1439, allocations: 93 kB / 0.6696 GB, free: 8.887 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.001308/0.1452, allocations: 1.154 MB / 0.6707 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1454, allocations: 106.2 kB / 0.6708 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.1455, allocations: 35.67 kB / 0.6709 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.1458, allocations: 47.95 kB / 0.6709 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1458, allocations: 37.38 kB / 0.671 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.1458, allocations: 3.938 kB / 0.671 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.000444/0.1462, allocations: 179.5 kB / 0.6711 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.1463, allocations: 51.41 kB / 0.6712 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.1465, allocations: 302.3 kB / 0.6715 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1465, allocations: 29.7 kB / 0.6715 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1467, allocations: 231 kB / 0.6717 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.1467, allocations: 67.42 kB / 0.6718 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.1468, allocations: 55.36 kB / 0.6718 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1469, allocations: 0.504 MB / 0.6723 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.147, allocations: 31.97 kB / 0.6724 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1471, allocations: 174.4 kB / 0.6725 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1473, allocations: 128 kB / 0.6726 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1473, allocations: 3.938 kB / 0.6726 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002644/0.1476, allocations: 169.3 kB / 0.6728 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1476, allocations: 8 kB / 0.6728 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1476, allocations: 0 / 0.6728 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1476, allocations: 4 kB / 0.6728 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1477, allocations: 39.92 kB / 0.6729 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.1478, allocations: 8.094 kB / 0.6729 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1479, allocations: 23.97 kB / 0.6729 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.1479, allocations: 11.98 kB / 0.6729 GB, free: 5.305 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.0001068/0.148, allocations: 172.5 kB / 0.6731 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.148, allocations: 35.84 kB / 0.6731 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.1483, allocations: 147.7 kB / 0.6732 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1483, allocations: 4 kB / 0.6732 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1483, allocations: 0 / 0.6732 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1483, allocations: 0 / 0.6732 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008985/0.1492, allocations: 0.5885 MB / 0.6738 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1492, allocations: 4 kB / 0.6738 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.1493, allocations: 31.92 kB / 0.6739 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1493, allocations: 4 kB / 0.6739 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.1493, allocations: 8 kB / 0.6739 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1494, allocations: 7.922 kB / 0.6739 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1494, allocations: 7.938 kB / 0.6739 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.1497, allocations: 371.8 kB / 0.6742 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.1498, allocations: 39.78 kB / 0.6743 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.1498, allocations: 4 kB / 0.6743 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1499, allocations: 11.98 kB / 0.6743 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.15, allocations: 19.86 kB / 0.6743 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.15, allocations: 8 kB / 0.6743 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001281/0.1501, allocations: 207 kB / 0.6745 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.1501, allocations: 0 / 0.6745 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003761/0.1505, allocations: 95.78 kB / 0.6746 GB, free: 3.426 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.0002328/0.1507, allocations: 131.2 kB / 0.6747 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.1509, allocations: 107.4 kB / 0.6748 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1509, allocations: 0 / 0.6748 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.151, allocations: 56.11 kB / 0.6749 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.1516, allocations: 124.3 kB / 0.675 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1528, allocations: 0.5864 MB / 0.6756 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.669e-05/0.1529, allocations: 96.3 kB / 0.6757 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000153/0.153, allocations: 54.25 kB / 0.6757 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.1531, allocations: 24.5 kB / 0.6757 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.1531, allocations: 3.938 kB / 0.6757 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.2817/0.4348, allocations: 5.036 MB / 0.6807 GB, free: 62.08 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.392517471686006]