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.0009706/0.0009706, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001346/0.001346, allocations: 170 kB / 23.27 MB, free: 1.223 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.9526/0.9526, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.8419/0.8419, allocations: 154.9 MB / 415.1 MB, free: 236 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 1.834e-06/1.834e-06, allocations: 0 / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.448e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1263/0.1263, allocations: 143.8 MB / 0.6616 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1282, allocations: 1.272 MB / 0.6629 GB, free: 68 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.1284, allocations: 19.88 kB / 0.6629 GB, free: 48 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.1287, allocations: 87.2 kB / 0.663 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0007534/0.1295, allocations: 389.8 kB / 0.6633 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.1303, allocations: 478.7 kB / 0.6638 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005605/0.1309, allocations: 0.6893 MB / 0.6645 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.1311, allocations: 205.3 kB / 0.6647 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.1316, allocations: 363 kB / 0.665 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1318, allocations: 199.4 kB / 0.6652 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.1318, allocations: 24 kB / 0.6652 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.1322, allocations: 303.1 kB / 0.6655 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.893e-05/0.1323, allocations: 119.6 kB / 0.6656 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.071e-05/0.1324, allocations: 119.7 kB / 0.6657 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.1329, allocations: 430.7 kB / 0.6661 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1329, allocations: 0 / 0.6661 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1329, allocations: 4 kB / 0.6661 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1329, allocations: 0 / 0.6661 GB, free: 12.69 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.001129/0.1341, allocations: 0.6436 MB / 0.6668 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.1341, allocations: 12.03 kB / 0.6668 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.1348, allocations: 220 kB / 0.667 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1351, allocations: 263.4 kB / 0.6672 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1351, allocations: 16.88 kB / 0.6673 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1351, allocations: 20.38 kB / 0.6673 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.1354, allocations: 227 kB / 0.6675 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1354, allocations: 0 / 0.6675 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1354, allocations: 12 kB / 0.6675 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1354, allocations: 8 kB / 0.6675 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.1355, allocations: 63.88 kB / 0.6676 GB, free: 11.13 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.0008515/0.1363, allocations: 1.102 MB / 0.6687 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1365, allocations: 79.02 kB / 0.6687 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.1365, allocations: 35.67 kB / 0.6688 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.1367, allocations: 47.89 kB / 0.6688 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1367, allocations: 41.33 kB / 0.6688 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.575e-06/0.1367, allocations: 0 / 0.6688 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003465/0.1371, allocations: 153.5 kB / 0.669 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1371, allocations: 59.41 kB / 0.669 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1373, allocations: 288.2 kB / 0.6693 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1373, allocations: 25.7 kB / 0.6693 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1374, allocations: 238.9 kB / 0.6696 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1374, allocations: 55.52 kB / 0.6696 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.1375, allocations: 55.3 kB / 0.6697 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1377, allocations: 0.504 MB / 0.6702 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.343e-05/0.1377, allocations: 19.98 kB / 0.6702 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1378, allocations: 169 kB / 0.6704 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1379, allocations: 114 kB / 0.6705 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1379, allocations: 0 / 0.6705 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000171/0.1381, allocations: 145.4 kB / 0.6706 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1381, allocations: 4 kB / 0.6706 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1381, allocations: 0 / 0.6706 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1381, allocations: 4 kB / 0.6706 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1382, allocations: 43.92 kB / 0.6707 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1382, allocations: 3.984 kB / 0.6707 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.489e-05/0.1383, allocations: 23.83 kB / 0.6707 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1383, allocations: 12.09 kB / 0.6707 GB, free: 7.727 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 8.89e-05/0.1384, allocations: 168.5 kB / 0.6709 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.1384, allocations: 31.81 kB / 0.6709 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.1386, allocations: 133.7 kB / 0.671 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1386, allocations: 144 / 0.671 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1386, allocations: 0 / 0.671 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1386, allocations: 7.984 kB / 0.671 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.1391, allocations: 0.5149 MB / 0.6715 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1391, allocations: 0 / 0.6715 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.1392, allocations: 27.98 kB / 0.6715 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1392, allocations: 4 kB / 0.6715 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1392, allocations: 0 / 0.6715 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1392, allocations: 7.938 kB / 0.6716 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1392, allocations: 4 kB / 0.6716 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1395, allocations: 353.5 kB / 0.6719 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.1395, allocations: 43.84 kB / 0.6719 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1395, allocations: 8 kB / 0.6719 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.1396, allocations: 4 kB / 0.672 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1396, allocations: 19.91 kB / 0.672 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.1397, allocations: 8 kB / 0.672 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.78e-05/0.1397, allocations: 189.1 kB / 0.6722 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1397, allocations: 0 / 0.6722 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002678/0.14, allocations: 83.83 kB / 0.6722 GB, free: 6.016 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.0002442/0.1403, allocations: 139.1 kB / 0.6724 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1404, allocations: 90.52 kB / 0.6725 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1404, allocations: 0 / 0.6725 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.565e-05/0.1405, allocations: 59.52 kB / 0.6725 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.1409, allocations: 118.2 kB / 0.6726 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1421, allocations: 0.5708 MB / 0.6732 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.755e-05/0.1421, allocations: 100.2 kB / 0.6733 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.822e-05/0.1422, allocations: 30.28 kB / 0.6733 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.1424, allocations: 166.1 kB / 0.6735 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of SimCode: time 6.12e-07/0.1424, allocations: 0 / 0.6735 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of Templates: time 0.2766/0.4191, allocations: 5.035 MB / 0.6784 GB, free: 64.23 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.279011357109994]