Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006938/0.0006938, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009134/0.001607, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001037/0.001037, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.002256, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9699/0.9699, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09419/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.8005/0.8005, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3266/1.127, allocations: 49.06 MB / 447.8 MB, free: 6.574 MB / 426.7 MB " [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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 449.2 MB, free: 5.242 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.641e-05, allocations: 4.281 kB / 449.2 MB, free: 5.238 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1456/0.1457, allocations: 146.4 MB / 0.5816 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1479, allocations: 1.305 MB / 0.5829 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.1481, allocations: 19.81 kB / 0.5829 GB, free: 1.449 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1484, allocations: 87.27 kB / 0.583 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008309/0.1492, allocations: 389.8 kB / 0.5834 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.1501, allocations: 464 kB / 0.5838 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.1509, allocations: 0.69 MB / 0.5845 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.1512, allocations: 187.4 kB / 0.5847 GB, free: 15.65 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005676/0.1518, allocations: 390.8 kB / 0.585 GB, free: 15.27 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.152, allocations: 179.5 kB / 0.5852 GB, free: 15.09 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.487e-05/0.152, allocations: 28 kB / 0.5852 GB, free: 15.07 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.1526, allocations: 315.1 kB / 0.5855 GB, free: 14.76 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1527, allocations: 107.7 kB / 0.5856 GB, free: 14.65 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 9.088e-05/0.1528, allocations: 99.75 kB / 0.5857 GB, free: 14.55 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.1533, allocations: 378.8 kB / 0.5861 GB, free: 14.18 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.1533, allocations: 0 / 0.5861 GB, free: 14.18 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1533, allocations: 0 / 0.5861 GB, free: 14.18 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.1533, allocations: 0 / 0.5861 GB, free: 14.18 MB / 0.573 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.0006989/0.154, allocations: 0.5987 MB / 0.5867 GB, free: 13.56 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.154, allocations: 12.03 kB / 0.5867 GB, free: 13.55 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/0.1548, allocations: 297.3 kB / 0.587 GB, free: 13.24 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1552, allocations: 240.7 kB / 0.5872 GB, free: 12.98 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1552, allocations: 24.81 kB / 0.5872 GB, free: 12.96 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.1552, allocations: 24.31 kB / 0.5873 GB, free: 12.94 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.1555, allocations: 219 kB / 0.5875 GB, free: 12.7 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1555, allocations: 0 / 0.5875 GB, free: 12.7 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1555, allocations: 8 kB / 0.5875 GB, free: 12.7 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.1555, allocations: 8 kB / 0.5875 GB, free: 12.69 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.1556, allocations: 72.38 kB / 0.5875 GB, free: 12.61 MB / 0.573 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.0007027/0.1563, allocations: 0.7761 MB / 0.5883 GB, free: 11.8 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1564, allocations: 125.2 kB / 0.5884 GB, free: 11.67 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.1564, allocations: 27.69 kB / 0.5885 GB, free: 11.64 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.1566, allocations: 51.94 kB / 0.5885 GB, free: 11.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.1566, allocations: 30.84 kB / 0.5885 GB, free: 11.55 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/0.1566, allocations: 4 kB / 0.5885 GB, free: 11.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0002489/0.1569, allocations: 129.4 kB / 0.5887 GB, free: 11.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.1569, allocations: 51.41 kB / 0.5887 GB, free: 11.35 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.157, allocations: 229 kB / 0.5889 GB, free: 11.11 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.157, allocations: 29.64 kB / 0.589 GB, free: 11.08 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.1571, allocations: 172.7 kB / 0.5891 GB, free: 10.91 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1571, allocations: 51.52 kB / 0.5892 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.1572, allocations: 45.64 kB / 0.5892 GB, free: 10.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.1573, allocations: 338.8 kB / 0.5895 GB, free: 10.46 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.1573, allocations: 22.83 kB / 0.5896 GB, free: 10.44 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.1574, allocations: 142.2 kB / 0.5897 GB, free: 10.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.1575, allocations: 100.3 kB / 0.5898 GB, free: 10.15 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1575, allocations: 11.94 kB / 0.5898 GB, free: 10.14 MB / 0.573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001315/0.1576, allocations: 131.2 kB / 0.5899 GB, free: 10 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1576, allocations: 4 kB / 0.5899 GB, free: 9.996 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1576, allocations: 96 / 0.5899 GB, free: 9.996 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1576, allocations: 8 kB / 0.5899 GB, free: 9.988 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1577, allocations: 43.92 kB / 0.59 GB, free: 9.945 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.1577, allocations: 0 / 0.59 GB, free: 9.945 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.1578, allocations: 27.81 kB / 0.59 GB, free: 9.918 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1578, allocations: 4 kB / 0.59 GB, free: 9.914 MB / 0.573 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.453e-05/0.1579, allocations: 136.5 kB / 0.5901 GB, free: 9.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1579, allocations: 15.98 kB / 0.5902 GB, free: 9.754 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1581, allocations: 112.7 kB / 0.5903 GB, free: 9.637 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1581, allocations: 0 / 0.5903 GB, free: 9.637 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1581, allocations: 8 kB / 0.5903 GB, free: 9.629 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1581, allocations: 0 / 0.5903 GB, free: 9.629 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.1585, allocations: 0.4921 MB / 0.5907 GB, free: 9.082 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1585, allocations: 4 kB / 0.5908 GB, free: 9.078 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.1586, allocations: 31.92 kB / 0.5908 GB, free: 9.047 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.1586, allocations: 31.84 kB / 0.5908 GB, free: 9.016 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1586, allocations: 8.219 kB / 0.5908 GB, free: 9.008 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1586, allocations: 4 kB / 0.5908 GB, free: 9.004 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1586, allocations: 0 / 0.5908 GB, free: 9.004 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1586, allocations: 7.938 kB / 0.5908 GB, free: 8.996 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1588, allocations: 322.1 kB / 0.5911 GB, free: 8.637 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.1589, allocations: 4 kB / 0.5911 GB, free: 8.633 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1589, allocations: 11.98 kB / 0.5912 GB, free: 8.621 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.159, allocations: 19.91 kB / 0.5912 GB, free: 8.602 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.159, allocations: 4 kB / 0.5912 GB, free: 8.598 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.159, allocations: 82.77 kB / 0.5913 GB, free: 8.52 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.159, allocations: 4.031 kB / 0.5913 GB, free: 8.516 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002305/0.1592, allocations: 91.83 kB / 0.5913 GB, free: 8.426 MB / 0.573 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.0001798/0.1594, allocations: 112.2 kB / 0.5915 GB, free: 8.309 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1596, allocations: 80.69 kB / 0.5915 GB, free: 8.227 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.1596, allocations: 4.281 kB / 0.5915 GB, free: 8.223 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/0.1596, allocations: 60.7 kB / 0.5916 GB, free: 8.16 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.1602, allocations: 0.8176 MB / 0.5924 GB, free: 7.191 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.1628, allocations: 0.5562 MB / 0.5929 GB, free: 6.578 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.475e-05/0.1629, allocations: 96.3 kB / 0.593 GB, free: 6.465 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.163, allocations: 30.56 kB / 0.5931 GB, free: 6.438 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.1632, allocations: 125.3 kB / 0.5932 GB, free: 6.312 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/0.1632, allocations: 0 / 0.5932 GB, free: 6.312 MB / 0.573 GB Notification: Performance of Templates: time 0.007001/0.1702, allocations: 5.241 MB / 0.5983 GB, free: 1.219 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.666159328073263]