Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009112/0.0009112, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008881/0.0008881, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8844/0.8844, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7062/0.7062, allocations: 154.5 MB / 414.5 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.143e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.02669/0.02672, allocations: 38.47 MB / 0.6568 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.03775, allocations: 10.43 MB / 0.667 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.039, allocations: 75.38 kB / 0.6671 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.04037, allocations: 0.5623 MB / 0.6676 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.04284, allocations: 1.53 MB / 0.6691 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.04485, allocations: 1.4 MB / 0.6705 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.04696, allocations: 2.723 MB / 0.6732 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000784/0.04774, allocations: 0.8428 MB / 0.674 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.04989, allocations: 1.601 MB / 0.6755 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.0505, allocations: 0.6814 MB / 0.6762 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.974e-05/0.0506, allocations: 115.9 kB / 0.6763 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.05163, allocations: 0.6667 MB / 0.677 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.05181, allocations: 294.8 kB / 0.6773 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.0521, allocations: 422.9 kB / 0.6777 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3008/0.3529, allocations: 1.942 MB / 0.6796 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3529, allocations: 2.812 kB / 0.6796 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3529, allocations: 0 / 0.6796 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.949e-05/0.3529, allocations: 0 / 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.001892/0.3548, allocations: 1.474 MB / 0.681 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3548, allocations: 15.47 kB / 0.681 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008773/0.3557, allocations: 324.5 kB / 0.6813 GB, free: 49.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3568, allocations: 0.9038 MB / 0.6822 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.3568, allocations: 62.62 kB / 0.6823 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.3569, allocations: 81.39 kB / 0.6823 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.3581, allocations: 1.139 MB / 0.6834 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3581, allocations: 2.094 kB / 0.6835 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.3582, allocations: 35.12 kB / 0.6835 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.3582, allocations: 19.97 kB / 0.6835 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.3594, allocations: 0.8212 MB / 0.6843 GB, free: 49.08 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.00264/0.362, allocations: 3.221 MB / 0.6875 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.3629, allocations: 0.5827 MB / 0.688 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.3633, allocations: 289.9 kB / 0.6883 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/0.3636, allocations: 121.5 kB / 0.6884 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005898/0.3642, allocations: 0.5245 MB / 0.6889 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.464e-06/0.3642, allocations: 0 / 0.6889 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.00151/0.3657, allocations: 0.9587 MB / 0.6899 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3657, allocations: 110.8 kB / 0.69 GB, free: 47.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.3663, allocations: 0.7473 MB / 0.6907 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.3663, allocations: 35.23 kB / 0.6907 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.3665, allocations: 0.4983 MB / 0.6912 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.3666, allocations: 170.6 kB / 0.6914 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.3668, allocations: 129.6 kB / 0.6915 GB, free: 46.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.3668, allocations: 334.2 kB / 0.6918 GB, free: 46.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.3673, allocations: 325.4 kB / 0.6921 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.3678, allocations: 0.6256 MB / 0.6927 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009411/0.3687, allocations: 0.7956 MB / 0.6935 GB, free: 45.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3687, allocations: 0 / 0.6935 GB, free: 45.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001172/0.3699, allocations: 0.9512 MB / 0.6944 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.3699, allocations: 35.92 kB / 0.6945 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3699, allocations: 5.438 kB / 0.6945 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.37, allocations: 8.5 kB / 0.6945 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.3704, allocations: 194.7 kB / 0.6947 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3705, allocations: 12.64 kB / 0.6947 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.3708, allocations: 112 kB / 0.6948 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.3709, allocations: 38.75 kB / 0.6948 GB, free: 45.39 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.0002363/0.3711, allocations: 265.2 kB / 0.6951 GB, free: 45.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.3712, allocations: 88.91 kB / 0.6952 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.3726, allocations: 1.085 MB / 0.6962 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.3726, allocations: 13.47 kB / 0.6962 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3726, allocations: 0 / 0.6962 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3726, allocations: 10.14 kB / 0.6963 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.3745, allocations: 1.835 MB / 0.698 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.3745, allocations: 3.328 kB / 0.6981 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.3749, allocations: 157 kB / 0.6982 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3749, allocations: 4.078 kB / 0.6982 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.3749, allocations: 16.64 kB / 0.6982 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3749, allocations: 5.844 kB / 0.6982 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3749, allocations: 3.938 kB / 0.6982 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3766, allocations: 1.472 MB / 0.6997 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.3768, allocations: 184.2 kB / 0.6998 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.3768, allocations: 18.06 kB / 0.6999 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.3772, allocations: 61.78 kB / 0.6999 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.3772, allocations: 55.5 kB / 0.7 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.3773, allocations: 30.66 kB / 0.7 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003947/0.3777, allocations: 0.5259 MB / 0.7005 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3777, allocations: 1.203 kB / 0.7005 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007789/0.3785, allocations: 398.3 kB / 0.7009 GB, free: 44.21 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.001081/0.3795, allocations: 0.7392 MB / 0.7016 GB, free: 44.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.3806, allocations: 0.8128 MB / 0.7024 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3806, allocations: 4.734 kB / 0.7024 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.3811, allocations: 390 kB / 0.7028 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009079/0.382, allocations: 360.6 kB / 0.7031 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.3858, allocations: 2.34 MB / 0.7054 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.3861, allocations: 457.6 kB / 0.7059 GB, free: 42.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.3863, allocations: 98.7 kB / 0.7059 GB, free: 42.94 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.3863, allocations: 0 / 0.7059 GB, free: 42.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.02077/0.407, allocations: 18.32 MB / 0.7238 GB, free: 40.7 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.158115977421403] Failed to read output from testmodel.py, exit status != 0: 0.41294442396610975 0.42114931899999997 0.06634841300000001 Calling exit ...