Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001208/0.001208, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001071/0.001071, allocations: 173 kB / 23.49 MB, free: 1.055 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.9232/0.9232, allocations: 177.1 MB / 203.8 MB, free: 5.602 MB / 186.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.8278/0.8278, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5203 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.886e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4573/0.4573, allocations: 163.8 MB / 0.6803 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007072/0.4644, allocations: 6.743 MB / 0.6869 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005523/0.465, allocations: 17.94 kB / 0.6869 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.4655, allocations: 185.2 kB / 0.6871 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.4672, allocations: 0.8565 MB / 0.688 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.4681, allocations: 392.9 kB / 0.6883 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.4691, allocations: 0.7137 MB / 0.689 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/0.4696, allocations: 230.2 kB / 0.6892 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.4717, allocations: 0.815 MB / 0.69 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005303/0.4722, allocations: 243.3 kB / 0.6903 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.4723, allocations: 23.28 kB / 0.6903 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.473, allocations: 295 kB / 0.6906 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.4732, allocations: 115.1 kB / 0.6907 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.4734, allocations: 112.5 kB / 0.6908 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007684/0.4741, allocations: 388.1 kB / 0.6912 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4741, allocations: 0 / 0.6912 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4741, allocations: 1.203 kB / 0.6912 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.4742, allocations: 0.8125 kB / 0.6912 GB, free: 47.17 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008011/0.475, allocations: 0.6466 MB / 0.6918 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.475, allocations: 9 kB / 0.6918 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.4753, allocations: 100.8 kB / 0.6919 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.4756, allocations: 277.6 kB / 0.6922 GB, free: 46.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.4757, allocations: 19.3 kB / 0.6922 GB, free: 46.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.4757, allocations: 23.81 kB / 0.6922 GB, free: 46.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.476, allocations: 275.1 kB / 0.6925 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.476, allocations: 3.938 kB / 0.6925 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.476, allocations: 12.97 kB / 0.6925 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.476, allocations: 5.844 kB / 0.6925 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.4762, allocations: 92.34 kB / 0.6926 GB, free: 46.36 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.000919/0.4771, allocations: 1.428 MB / 0.694 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.4772, allocations: 78.92 kB / 0.694 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.4773, allocations: 41.12 kB / 0.6941 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.4776, allocations: 63.98 kB / 0.6941 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.4776, allocations: 41.27 kB / 0.6942 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 3.616e-06/0.4776, allocations: 0 / 0.6942 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.000417/0.478, allocations: 155.7 kB / 0.6943 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.478, allocations: 52.38 kB / 0.6944 GB, free: 45.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4782, allocations: 277 kB / 0.6946 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.4783, allocations: 29.48 kB / 0.6947 GB, free: 44.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4784, allocations: 244 kB / 0.6949 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.4784, allocations: 50.95 kB / 0.695 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.4785, allocations: 40.36 kB / 0.695 GB, free: 44.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.4786, allocations: 0.5041 MB / 0.6955 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.4786, allocations: 19.44 kB / 0.6955 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.4787, allocations: 159.1 kB / 0.6957 GB, free: 43.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.4788, allocations: 108 kB / 0.6958 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4788, allocations: 3.562 kB / 0.6958 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002066/0.479, allocations: 145.5 kB / 0.6959 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4791, allocations: 6.969 kB / 0.6959 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4791, allocations: 0.75 kB / 0.6959 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4791, allocations: 3.25 kB / 0.6959 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.4792, allocations: 31.38 kB / 0.6959 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4792, allocations: 3.594 kB / 0.6959 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.4793, allocations: 16.84 kB / 0.696 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.4794, allocations: 6.75 kB / 0.696 GB, free: 43.87 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 (17): * Single equations (assignments): 17 * 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.0001052/0.4795, allocations: 169 kB / 0.6961 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.4795, allocations: 32.16 kB / 0.6962 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.4797, allocations: 127.5 kB / 0.6963 GB, free: 43.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4797, allocations: 1.781 kB / 0.6963 GB, free: 43.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4798, allocations: 0 / 0.6963 GB, free: 43.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4798, allocations: 0.6562 kB / 0.6963 GB, free: 43.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.4803, allocations: 0.5639 MB / 0.6968 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4803, allocations: 2.906 kB / 0.6968 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.4804, allocations: 21.64 kB / 0.6969 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4804, allocations: 6.312 kB / 0.6969 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4804, allocations: 3.781 kB / 0.6969 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4804, allocations: 6.281 kB / 0.6969 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4804, allocations: 2.906 kB / 0.6969 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.4806, allocations: 325.1 kB / 0.6972 GB, free: 42.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.4807, allocations: 38.97 kB / 0.6972 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.4807, allocations: 6.266 kB / 0.6972 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.4807, allocations: 9.438 kB / 0.6972 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.4808, allocations: 17.53 kB / 0.6973 GB, free: 42.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.4808, allocations: 6.344 kB / 0.6973 GB, free: 42.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.745e-05/0.4809, allocations: 196.2 kB / 0.6975 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4809, allocations: 1.031 kB / 0.6975 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003436/0.4812, allocations: 82.12 kB / 0.6975 GB, free: 42.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (13): * Single equations (assignments): 13 * 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.0002802/0.4815, allocations: 137.6 kB / 0.6977 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.4817, allocations: 81.17 kB / 0.6977 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4817, allocations: 2.438 kB / 0.6977 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.4818, allocations: 43.92 kB / 0.6978 GB, free: 42.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.4823, allocations: 96.78 kB / 0.6979 GB, free: 42.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.4832, allocations: 0.5353 MB / 0.6984 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.47e-05/0.4833, allocations: 97.64 kB / 0.6985 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.4834, allocations: 45.98 kB / 0.6985 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.4834, allocations: 20.28 kB / 0.6986 GB, free: 42.28 MB / 0.6355 GB Notification: Performance of SimCode: time 1.422e-06/0.4834, allocations: 0.875 kB / 0.6986 GB, free: 42.28 MB / 0.6355 GB Notification: Performance of Templates: time 0.006088/0.4895, allocations: 3.759 MB / 0.7022 GB, free: 42.08 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2299790780525655]