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.001118/0.001118, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001705/0.002823, allocations: 435.8 kB / 10.33 MB, free: 368 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.001307/0.001307, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00169/0.002997, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1021/1.137, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.8435/0.8435, allocations: 154.6 MB / 398.5 MB, free: 0.5117 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2967/1.14, allocations: 49.04 MB / 447.6 MB, free: 6.719 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 1.252e-06/1.252e-06, allocations: 0 / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.217e-05, allocations: 2.312 kB / 448.9 MB, free: 5.402 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1428/0.1428, allocations: 146.4 MB / 0.5814 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1445, allocations: 1.309 MB / 0.5826 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.1447, allocations: 15.88 kB / 0.5827 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.1449, allocations: 91.27 kB / 0.5827 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006526/0.1456, allocations: 385.7 kB / 0.5831 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.1463, allocations: 469.8 kB / 0.5836 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005267/0.1468, allocations: 0.694 MB / 0.5842 GB, free: 0 / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.1471, allocations: 191.3 kB / 0.5844 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.1475, allocations: 383 kB / 0.5848 GB, free: 15.44 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1477, allocations: 183.5 kB / 0.585 GB, free: 15.26 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.1477, allocations: 20 kB / 0.585 GB, free: 15.24 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003906/0.1481, allocations: 323.1 kB / 0.5853 GB, free: 14.92 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.1482, allocations: 103.7 kB / 0.5854 GB, free: 14.82 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.1483, allocations: 95.81 kB / 0.5855 GB, free: 14.73 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.1487, allocations: 382.8 kB / 0.5858 GB, free: 14.35 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.839e-05/0.1487, allocations: 0 / 0.5858 GB, free: 14.35 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1487, allocations: 0 / 0.5858 GB, free: 14.35 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.1487, allocations: 0 / 0.5858 GB, free: 14.35 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.0006336/0.1494, allocations: 0.6065 MB / 0.5864 GB, free: 13.72 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.1494, allocations: 12.03 kB / 0.5864 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006449/0.15, allocations: 289.4 kB / 0.5867 GB, free: 13.41 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1503, allocations: 244.5 kB / 0.587 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1503, allocations: 20.88 kB / 0.587 GB, free: 13.12 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.1504, allocations: 24.38 kB / 0.587 GB, free: 13.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.1506, allocations: 223 kB / 0.5872 GB, free: 12.86 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1506, allocations: 0 / 0.5872 GB, free: 12.86 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1506, allocations: 15.92 kB / 0.5872 GB, free: 12.85 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1506, allocations: 4 kB / 0.5872 GB, free: 12.84 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.1507, allocations: 72.39 kB / 0.5873 GB, free: 12.77 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.0006675/0.1514, allocations: 0.7722 MB / 0.5881 GB, free: 11.96 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1515, allocations: 117.2 kB / 0.5882 GB, free: 11.84 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.1515, allocations: 30.22 kB / 0.5882 GB, free: 11.81 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.1517, allocations: 51.94 kB / 0.5882 GB, free: 11.76 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.1517, allocations: 30.84 kB / 0.5883 GB, free: 11.72 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.1517, allocations: 4 kB / 0.5883 GB, free: 11.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0002451/0.152, allocations: 137.3 kB / 0.5884 GB, free: 11.57 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.152, allocations: 51.41 kB / 0.5885 GB, free: 11.51 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1521, allocations: 229 kB / 0.5887 GB, free: 11.28 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1521, allocations: 33.7 kB / 0.5887 GB, free: 11.24 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.1522, allocations: 160.7 kB / 0.5889 GB, free: 11.08 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1522, allocations: 55.52 kB / 0.5889 GB, free: 11.02 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.1523, allocations: 45.64 kB / 0.589 GB, free: 10.97 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.1524, allocations: 338.8 kB / 0.5893 GB, free: 10.63 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.1524, allocations: 18.81 kB / 0.5893 GB, free: 10.61 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.137e-05/0.1525, allocations: 138.2 kB / 0.5894 GB, free: 10.44 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.309e-05/0.1526, allocations: 109.5 kB / 0.5895 GB, free: 10.31 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1526, allocations: 3.938 kB / 0.5895 GB, free: 10.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001288/0.1527, allocations: 127.1 kB / 0.5897 GB, free: 10.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1527, allocations: 4 kB / 0.5897 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1527, allocations: 4 kB / 0.5897 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.1527, allocations: 0 / 0.5897 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1528, allocations: 44.08 kB / 0.5897 GB, free: 10.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1528, allocations: 7.938 kB / 0.5897 GB, free: 10.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.1529, allocations: 23.88 kB / 0.5897 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1529, allocations: 4 kB / 0.5897 GB, free: 10.09 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.129e-05/0.153, allocations: 128.5 kB / 0.5899 GB, free: 9.953 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.153, allocations: 15.98 kB / 0.5899 GB, free: 9.938 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.1532, allocations: 119.3 kB / 0.59 GB, free: 9.812 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1532, allocations: 4 kB / 0.59 GB, free: 9.809 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1532, allocations: 0 / 0.59 GB, free: 9.809 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1532, allocations: 0 / 0.59 GB, free: 9.809 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.1536, allocations: 0.4999 MB / 0.5905 GB, free: 9.254 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1536, allocations: 0 / 0.5905 GB, free: 9.254 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.1537, allocations: 39.92 kB / 0.5905 GB, free: 9.215 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.1537, allocations: 35.83 kB / 0.5906 GB, free: 9.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1537, allocations: 0 / 0.5906 GB, free: 9.18 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1537, allocations: 8 kB / 0.5906 GB, free: 9.172 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1537, allocations: 8.219 kB / 0.5906 GB, free: 9.164 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1537, allocations: 3.938 kB / 0.5906 GB, free: 9.16 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1539, allocations: 316.9 kB / 0.5909 GB, free: 8.805 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.154, allocations: 4 kB / 0.5909 GB, free: 8.801 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.154, allocations: 8 kB / 0.5909 GB, free: 8.793 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1541, allocations: 23.84 kB / 0.5909 GB, free: 8.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1541, allocations: 8 kB / 0.5909 GB, free: 8.762 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.1541, allocations: 78.77 kB / 0.591 GB, free: 8.68 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.1541, allocations: 0 / 0.591 GB, free: 8.68 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002166/0.1543, allocations: 83.88 kB / 0.5911 GB, free: 8.598 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.0001926/0.1545, allocations: 120.2 kB / 0.5912 GB, free: 8.473 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.1547, allocations: 75.58 kB / 0.5913 GB, free: 8.398 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.1547, allocations: 4 kB / 0.5913 GB, free: 8.395 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.1547, allocations: 45.33 kB / 0.5913 GB, free: 8.348 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1551, allocations: 150.8 kB / 0.5915 GB, free: 8.203 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.1577, allocations: 0.5508 MB / 0.592 GB, free: 7.598 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.11e-05/0.1578, allocations: 96.3 kB / 0.5921 GB, free: 7.484 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.1579, allocations: 38.27 kB / 0.5921 GB, free: 7.449 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.1581, allocations: 129.3 kB / 0.5922 GB, free: 7.324 MB / 0.573 GB Notification: Performance of SimCode: time 9.22e-07/0.1581, allocations: 4 kB / 0.5922 GB, free: 7.32 MB / 0.573 GB Notification: Performance of Templates: time 0.007299/0.1654, allocations: 5.197 MB / 0.5973 GB, free: 2.281 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.89144837949425]