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.0008977/0.0008977, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009824/0.0009824, allocations: 165 kB / 23.02 MB, free: 1.543 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 1.073/1.073, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8161/0.8161, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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.233e-06/1.233e-06, allocations: 0 / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.343e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.136/0.136, allocations: 146.6 MB / 0.6635 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.1382, allocations: 1.286 MB / 0.6648 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.1385, allocations: 15.88 kB / 0.6648 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.1389, allocations: 87.2 kB / 0.6649 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009493/0.1398, allocations: 405.7 kB / 0.6653 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000968/0.1408, allocations: 462.8 kB / 0.6657 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007576/0.1415, allocations: 0.7175 MB / 0.6664 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.1419, allocations: 205.3 kB / 0.6666 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006185/0.1425, allocations: 386.9 kB / 0.667 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.1428, allocations: 199.4 kB / 0.6671 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.1428, allocations: 24 kB / 0.6672 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.1433, allocations: 299.1 kB / 0.6675 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1435, allocations: 123.6 kB / 0.6676 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1436, allocations: 127.7 kB / 0.6677 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.1442, allocations: 446.5 kB / 0.6681 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1442, allocations: 0 / 0.6681 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1442, allocations: 0 / 0.6681 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1442, allocations: 0 / 0.6681 GB, free: 10.51 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.0008448/0.1451, allocations: 0.6553 MB / 0.6688 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1451, allocations: 16.02 kB / 0.6688 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.1463, allocations: 212.1 kB / 0.669 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.1467, allocations: 279.8 kB / 0.6692 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1467, allocations: 20.44 kB / 0.6693 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.1468, allocations: 24 kB / 0.6693 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.1472, allocations: 239.9 kB / 0.6695 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1472, allocations: 4 kB / 0.6695 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.1472, allocations: 8 kB / 0.6695 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.1472, allocations: 8 kB / 0.6695 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.1475, allocations: 89 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.001225/0.1487, allocations: 1.154 MB / 0.6707 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1489, allocations: 97 kB / 0.6708 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.149, allocations: 39.67 kB / 0.6709 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.1493, allocations: 51.94 kB / 0.6709 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1493, allocations: 37.39 kB / 0.671 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.814e-06/0.1493, allocations: 0 / 0.671 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0005048/0.1498, allocations: 177.6 kB / 0.6711 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1498, allocations: 55.41 kB / 0.6712 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.1501, allocations: 298.3 kB / 0.6715 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1501, allocations: 25.7 kB / 0.6715 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1503, allocations: 243 kB / 0.6717 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.1503, allocations: 67.42 kB / 0.6718 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.1504, allocations: 51.36 kB / 0.6718 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1506, allocations: 0.5079 MB / 0.6723 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.1506, allocations: 19.98 kB / 0.6724 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.1508, allocations: 178.4 kB / 0.6725 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.151, allocations: 132.2 kB / 0.6727 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.151, allocations: 3.938 kB / 0.6727 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003084/0.1513, allocations: 165.3 kB / 0.6728 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1513, allocations: 8 kB / 0.6728 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1513, allocations: 0 / 0.6728 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1513, allocations: 4 kB / 0.6728 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.1515, allocations: 43.92 kB / 0.6729 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1515, allocations: 8.094 kB / 0.6729 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.1517, allocations: 27.83 kB / 0.6729 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.1517, allocations: 11.98 kB / 0.6729 GB, free: 5.301 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.0001224/0.1518, allocations: 176.4 kB / 0.6731 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.1519, allocations: 27.86 kB / 0.6731 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.1522, allocations: 141.6 kB / 0.6732 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1522, allocations: 4 kB / 0.6732 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1522, allocations: 0 / 0.6732 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1522, allocations: 0 / 0.6732 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.1529, allocations: 0.5885 MB / 0.6738 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1529, allocations: 4 kB / 0.6738 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1531, allocations: 35.92 kB / 0.6739 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1531, allocations: 4 kB / 0.6739 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.1531, allocations: 7.984 kB / 0.6739 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1531, allocations: 4 kB / 0.6739 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1531, allocations: 4.156 kB / 0.6739 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.1535, allocations: 375.6 kB / 0.6742 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.1536, allocations: 39.78 kB / 0.6743 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1536, allocations: 7.984 kB / 0.6743 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1538, allocations: 8 kB / 0.6743 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.1538, allocations: 19.86 kB / 0.6743 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1539, allocations: 11.98 kB / 0.6743 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000155/0.154, allocations: 207 kB / 0.6745 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.11e-07/0.154, allocations: 0 / 0.6745 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004327/0.1544, allocations: 87.78 kB / 0.6746 GB, free: 3.441 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.0002455/0.1547, allocations: 139.2 kB / 0.6747 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.1549, allocations: 105.4 kB / 0.6748 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1549, allocations: 4 kB / 0.6748 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1551, allocations: 56.05 kB / 0.6749 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.1557, allocations: 125.4 kB / 0.675 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1571, allocations: 0.5823 MB / 0.6756 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1573, allocations: 104.3 kB / 0.6757 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000163/0.1575, allocations: 54.25 kB / 0.6757 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.1576, allocations: 28.44 kB / 0.6758 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.1576, allocations: 0 / 0.6758 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of Templates: time 0.2677/0.4253, allocations: 4.622 MB / 0.6803 GB, free: 61.84 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.538563230074942]