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.001812/0.001812, allocations: 81.5 kB / 19.44 MB, free: 344 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.001957/0.001957, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.347/1.347, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 178] 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.515e-06/2.515e-06, allocations: 0 / 0.5196 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.665e-05/3.916e-05, allocations: 3.156 kB / 0.5196 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.59/0.5901, allocations: 163.6 MB / 0.6794 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.5926, allocations: 1.576 MB / 0.6809 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.593, allocations: 19.31 kB / 0.6809 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.5935, allocations: 151.8 kB / 0.6811 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.5953, allocations: 0.7218 MB / 0.6818 GB, free: 47.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.5968, allocations: 0.6709 MB / 0.6825 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007512/0.5976, allocations: 0.7093 MB / 0.6831 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.5979, allocations: 192.5 kB / 0.6833 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.599, allocations: 0.5978 MB / 0.6839 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.5993, allocations: 190.8 kB / 0.6841 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.5993, allocations: 26.69 kB / 0.6841 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.6005, allocations: 0.7124 MB / 0.6848 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.6006, allocations: 115.4 kB / 0.6849 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.6008, allocations: 117.5 kB / 0.685 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009835/0.6018, allocations: 0.7331 MB / 0.6858 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6018, allocations: 0 / 0.6858 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6018, allocations: 3.188 kB / 0.6858 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.6018, allocations: 0.5625 kB / 0.6858 GB, free: 47.2 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.0008545/0.6026, allocations: 0.6939 MB / 0.6864 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6027, allocations: 9.312 kB / 0.6864 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.6038, allocations: 211.9 kB / 0.6866 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.6042, allocations: 277.3 kB / 0.6869 GB, free: 46.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.6042, allocations: 17.75 kB / 0.6869 GB, free: 46.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.6042, allocations: 21.5 kB / 0.6869 GB, free: 46.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.6046, allocations: 262 kB / 0.6872 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6046, allocations: 0 / 0.6872 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.6046, allocations: 15.19 kB / 0.6872 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.6046, allocations: 5.625 kB / 0.6872 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.6049, allocations: 143.9 kB / 0.6874 GB, free: 46.39 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.001101/0.606, allocations: 1.189 MB / 0.6885 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.6062, allocations: 121.3 kB / 0.6886 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.6063, allocations: 64.95 kB / 0.6887 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004097/0.6068, allocations: 62.08 kB / 0.6888 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.6068, allocations: 43.3 kB / 0.6888 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.6068, allocations: 4.062 kB / 0.6888 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006241/0.6074, allocations: 230.4 kB / 0.689 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.6074, allocations: 54.78 kB / 0.6891 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.6077, allocations: 325.3 kB / 0.6894 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.6077, allocations: 33.08 kB / 0.6894 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.6078, allocations: 242.9 kB / 0.6896 GB, free: 44.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.6078, allocations: 51.69 kB / 0.6897 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.6079, allocations: 56.25 kB / 0.6897 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.608, allocations: 0.5187 MB / 0.6903 GB, free: 44.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.6081, allocations: 46.45 kB / 0.6903 GB, free: 44.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.6083, allocations: 197.1 kB / 0.6905 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.6085, allocations: 175.3 kB / 0.6907 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.6085, allocations: 0 / 0.6907 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003771/0.6089, allocations: 218.3 kB / 0.6909 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6089, allocations: 6.719 kB / 0.6909 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6089, allocations: 0 / 0.6909 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.609, allocations: 3.062 kB / 0.6909 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.6092, allocations: 41.22 kB / 0.6909 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.6092, allocations: 2.969 kB / 0.6909 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.6093, allocations: 16.73 kB / 0.6909 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.6094, allocations: 13.5 kB / 0.6909 GB, free: 44.15 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 0.0001095/0.6095, allocations: 189.5 kB / 0.6911 GB, free: 43.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.6095, allocations: 35.38 kB / 0.6912 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.6099, allocations: 177.6 kB / 0.6913 GB, free: 43.94 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6099, allocations: 1 kB / 0.6913 GB, free: 43.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6099, allocations: 2.906 kB / 0.6913 GB, free: 43.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6099, allocations: 0.7812 kB / 0.6913 GB, free: 43.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/0.6107, allocations: 0.6588 MB / 0.692 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.6107, allocations: 3.5 kB / 0.692 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.6108, allocations: 28.62 kB / 0.692 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6108, allocations: 5.656 kB / 0.692 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.6109, allocations: 2.875 kB / 0.692 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.6109, allocations: 8.516 kB / 0.692 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6109, allocations: 6.375 kB / 0.692 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.6113, allocations: 444.2 kB / 0.6925 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.6114, allocations: 39.66 kB / 0.6925 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.6115, allocations: 6.062 kB / 0.6925 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.6116, allocations: 13.27 kB / 0.6925 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.6117, allocations: 13.17 kB / 0.6925 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.6117, allocations: 14.06 kB / 0.6925 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001344/0.6118, allocations: 218.2 kB / 0.6927 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.6118, allocations: 1.203 kB / 0.6927 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004452/0.6123, allocations: 89.06 kB / 0.6928 GB, free: 43.12 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.0002925/0.6126, allocations: 151.2 kB / 0.693 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.6129, allocations: 150.5 kB / 0.6931 GB, free: 43.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6129, allocations: 0.9688 kB / 0.6931 GB, free: 43.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.613, allocations: 76.53 kB / 0.6932 GB, free: 43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.6138, allocations: 125.2 kB / 0.6933 GB, free: 43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.6146, allocations: 0.5678 MB / 0.6939 GB, free: 42.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.6148, allocations: 170.4 kB / 0.694 GB, free: 42.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.6149, allocations: 50.02 kB / 0.6941 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.615, allocations: 23.69 kB / 0.6941 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.615, allocations: 0 / 0.6941 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.008913/0.6239, allocations: 4.824 MB / 0.6988 GB, free: 42.32 MB / 0.6355 GB " [Timeout remaining time 659] 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: 6.940770645043813]