Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.0008832/0.0008832, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008772/0.0008772, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9067/0.9067, allocations: 177.2 MB / 203.5 MB, free: 5.75 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-531:686: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-531:694: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.684/0.684, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.607e-05, allocations: 2.781 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.02678/0.0268, allocations: 38.48 MB / 0.6569 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.03841, allocations: 10.44 MB / 0.6671 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.03996, allocations: 75.31 kB / 0.6672 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.04121, allocations: 0.5662 MB / 0.6677 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.04408, allocations: 1.538 MB / 0.6692 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.04674, allocations: 1.388 MB / 0.6706 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002295/0.04904, allocations: 2.729 MB / 0.6732 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000777/0.04981, allocations: 0.8273 MB / 0.674 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.05198, allocations: 1.605 MB / 0.6756 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.05266, allocations: 0.693 MB / 0.6763 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.05277, allocations: 108 kB / 0.6764 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.05398, allocations: 0.6705 MB / 0.677 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.05419, allocations: 278.8 kB / 0.6773 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006243/0.05481, allocations: 438.9 kB / 0.6777 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3319/0.3867, allocations: 1.935 MB / 0.6796 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3867, allocations: 3.281 kB / 0.6796 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3867, allocations: 0 / 0.6796 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.154e-05/0.3867, allocations: 0.9844 kB / 0.6796 GB, free: 50.46 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001595/0.3883, allocations: 1.478 MB / 0.6811 GB, free: 49.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3884, allocations: 9.812 kB / 0.6811 GB, free: 49.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007864/0.3891, allocations: 331.1 kB / 0.6814 GB, free: 49.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009293/0.3901, allocations: 0.8994 MB / 0.6823 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.3901, allocations: 59.47 kB / 0.6823 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.3902, allocations: 80.25 kB / 0.6824 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3912, allocations: 1.137 MB / 0.6835 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3913, allocations: 0 / 0.6835 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.3913, allocations: 36.28 kB / 0.6835 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3913, allocations: 20.25 kB / 0.6836 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.3924, allocations: 0.8231 MB / 0.6844 GB, free: 49.09 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.00236/0.3948, allocations: 3.214 MB / 0.6875 GB, free: 47.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.3956, allocations: 0.5797 MB / 0.6881 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.396, allocations: 300.4 kB / 0.6884 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.3963, allocations: 115.4 kB / 0.6885 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005497/0.3968, allocations: 0.5247 MB / 0.689 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 1.383e-06/0.3968, allocations: 0.5625 kB / 0.689 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.001396/0.3982, allocations: 0.9538 MB / 0.6899 GB, free: 47.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3982, allocations: 112.1 kB / 0.69 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.3988, allocations: 0.7476 MB / 0.6907 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.3988, allocations: 37.95 kB / 0.6908 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.399, allocations: 0.4931 MB / 0.6913 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.3991, allocations: 169.3 kB / 0.6914 GB, free: 46.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3992, allocations: 136.2 kB / 0.6916 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.3992, allocations: 334 kB / 0.6919 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.3996, allocations: 319.5 kB / 0.6922 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.4001, allocations: 0.6339 MB / 0.6928 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.401, allocations: 0.7877 MB / 0.6936 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.401, allocations: 5 kB / 0.6936 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001115/0.4021, allocations: 0.9445 MB / 0.6945 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.4021, allocations: 33.95 kB / 0.6945 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4021, allocations: 5.812 kB / 0.6945 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4022, allocations: 9 kB / 0.6945 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.4026, allocations: 200.2 kB / 0.6947 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4026, allocations: 13.41 kB / 0.6947 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.403, allocations: 103 kB / 0.6948 GB, free: 45.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.403, allocations: 36.05 kB / 0.6949 GB, free: 45.42 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0002237/0.4033, allocations: 273.8 kB / 0.6951 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.4033, allocations: 92.2 kB / 0.6952 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.4047, allocations: 1.084 MB / 0.6963 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.4047, allocations: 19.08 kB / 0.6963 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4047, allocations: 2.297 kB / 0.6963 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4047, allocations: 7.172 kB / 0.6963 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.4065, allocations: 1.838 MB / 0.6981 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4065, allocations: 2.656 kB / 0.6981 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.4069, allocations: 155.4 kB / 0.6983 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.4069, allocations: 5.938 kB / 0.6983 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.4069, allocations: 20.09 kB / 0.6983 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4069, allocations: 6.719 kB / 0.6983 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4069, allocations: 6.625 kB / 0.6983 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.4085, allocations: 1.472 MB / 0.6997 GB, free: 44.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.4087, allocations: 177.5 kB / 0.6999 GB, free: 44.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.4087, allocations: 15.8 kB / 0.6999 GB, free: 44.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.4091, allocations: 62.62 kB / 0.7 GB, free: 44.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.4091, allocations: 53.33 kB / 0.7 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.4092, allocations: 28.72 kB / 0.7001 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003608/0.4095, allocations: 0.524 MB / 0.7006 GB, free: 44.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4095, allocations: 0 / 0.7006 GB, free: 44.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007139/0.4102, allocations: 405.7 kB / 0.701 GB, free: 44.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.001014/0.4113, allocations: 0.7405 MB / 0.7017 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.4123, allocations: 0.8077 MB / 0.7025 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4123, allocations: 2.719 kB / 0.7025 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.4127, allocations: 387.7 kB / 0.7028 GB, free: 43.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.4136, allocations: 369 kB / 0.7032 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.4172, allocations: 2.337 MB / 0.7055 GB, free: 43.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.4175, allocations: 454.5 kB / 0.7059 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.4177, allocations: 96.59 kB / 0.706 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.4177, allocations: 0 / 0.706 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.01909/0.4368, allocations: 18.33 MB / 0.7239 GB, free: 40.73 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.089455869980156] Failed to read output from testmodel.py, exit status != 0: 0.4432321172207594 0.45137853899999997 0.06280764600000001 Calling exit ...