Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.001006/0.001006, allocations: 93.06 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.00119/0.00119, allocations: 169 kB / 23.02 MB, free: 1.551 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.068/1.068, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.9388/0.9388, allocations: 154.8 MB / 414.7 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0.875 kB / 0.5206 GB, free: 1.973 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.15e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.969 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1375/0.1375, allocations: 146.6 MB / 0.6637 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1394, allocations: 1.284 MB / 0.665 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.1396, allocations: 15.88 kB / 0.665 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.1399, allocations: 87.27 kB / 0.6651 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0007564/0.1407, allocations: 389.8 kB / 0.6654 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.1414, allocations: 470.7 kB / 0.6659 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005461/0.142, allocations: 0.7049 MB / 0.6666 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.1422, allocations: 185.4 kB / 0.6667 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.1426, allocations: 375 kB / 0.6671 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.1428, allocations: 195.4 kB / 0.6673 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.1429, allocations: 24 kB / 0.6673 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.1432, allocations: 299.2 kB / 0.6676 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1433, allocations: 119.6 kB / 0.6677 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1434, allocations: 119.7 kB / 0.6678 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.1439, allocations: 430.7 kB / 0.6682 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1439, allocations: 0 / 0.6682 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1439, allocations: 3.938 kB / 0.6682 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.1439, allocations: 3.984 kB / 0.6682 GB, free: 10.41 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007143/0.1446, allocations: 0.6514 MB / 0.6689 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1447, allocations: 8.031 kB / 0.6689 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006524/0.1453, allocations: 208.2 kB / 0.6691 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.1457, allocations: 275.8 kB / 0.6693 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1457, allocations: 16.88 kB / 0.6694 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.1457, allocations: 20.38 kB / 0.6694 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.146, allocations: 239.1 kB / 0.6696 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.146, allocations: 11.94 kB / 0.6696 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.146, allocations: 4 kB / 0.6696 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.146, allocations: 8 kB / 0.6696 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1462, allocations: 83.88 kB / 0.6697 GB, free: 8.812 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.0008811/0.147, allocations: 1.144 MB / 0.6708 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1472, allocations: 87.03 kB / 0.6709 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1472, allocations: 39.67 kB / 0.6709 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.1474, allocations: 43.95 kB / 0.671 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1474, allocations: 41.33 kB / 0.671 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.1474, allocations: 0 / 0.671 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003237/0.1478, allocations: 169.5 kB / 0.6712 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.1478, allocations: 55.41 kB / 0.6712 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.148, allocations: 292.3 kB / 0.6715 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.148, allocations: 25.7 kB / 0.6715 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.1481, allocations: 231 kB / 0.6718 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1481, allocations: 59.48 kB / 0.6718 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.1482, allocations: 47.36 kB / 0.6719 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1483, allocations: 0.5079 MB / 0.6724 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.1483, allocations: 23.98 kB / 0.6724 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1484, allocations: 174 kB / 0.6726 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1486, allocations: 126 kB / 0.6727 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1486, allocations: 0 / 0.6727 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001833/0.1487, allocations: 160.4 kB / 0.6728 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1488, allocations: 13.5 kB / 0.6728 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1488, allocations: 0 / 0.6728 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1488, allocations: 4 kB / 0.6728 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1489, allocations: 43.91 kB / 0.6729 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1489, allocations: 0 / 0.6729 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.149, allocations: 23.98 kB / 0.6729 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.149, allocations: 12 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 (22): * Single equations (assignments): 22 * 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.957e-05/0.1491, allocations: 164.5 kB / 0.6731 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1491, allocations: 35.81 kB / 0.6731 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.1493, allocations: 137.7 kB / 0.6732 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1493, allocations: 4.141 kB / 0.6732 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1493, allocations: 3.984 kB / 0.6732 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.1493, allocations: 0 / 0.6732 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.1498, allocations: 0.5691 MB / 0.6738 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1498, allocations: 4 kB / 0.6738 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/0.1499, allocations: 27.92 kB / 0.6738 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.1499, allocations: 4 kB / 0.6738 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1499, allocations: 8 kB / 0.6738 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1499, allocations: 7.938 kB / 0.6739 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1499, allocations: 0 / 0.6739 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1501, allocations: 361.6 kB / 0.6742 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.1502, allocations: 31.84 kB / 0.6742 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1502, allocations: 8 kB / 0.6742 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.1503, allocations: 11.92 kB / 0.6742 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1503, allocations: 19.92 kB / 0.6743 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.1503, allocations: 8 kB / 0.6743 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.662e-05/0.1504, allocations: 205.1 kB / 0.6745 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1504, allocations: 0 / 0.6745 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002352/0.1507, allocations: 87.83 kB / 0.6746 GB, free: 3.496 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 (15): * Single equations (assignments): 15 * 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.0001891/0.1509, allocations: 127.2 kB / 0.6747 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.151, allocations: 99.52 kB / 0.6748 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.151, allocations: 3.938 kB / 0.6748 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/0.1511, allocations: 61.64 kB / 0.6748 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.1515, allocations: 127.6 kB / 0.675 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009141/0.1524, allocations: 0.5671 MB / 0.6755 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.1525, allocations: 100.2 kB / 0.6756 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.1526, allocations: 46.27 kB / 0.6756 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1526, allocations: 28.48 kB / 0.6757 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.1526, allocations: 0 / 0.6757 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of Templates: time 0.2696/0.4222, allocations: 4.552 MB / 0.6801 GB, free: 61.66 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.609361739829183]