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.001505/0.001505, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001653/0.001653, allocations: 166.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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-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 1.231/1.231, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 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.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 2.635e-06/2.635e-06, allocations: 0 / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.856e-05/4.12e-05, allocations: 2.875 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.05062/0.05066, allocations: 38.49 MB / 0.6562 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.06902, allocations: 10.42 MB / 0.6663 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002563/0.07159, allocations: 75.31 kB / 0.6664 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.07368, allocations: 0.574 MB / 0.667 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005284/0.07896, allocations: 1.53 MB / 0.6685 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.08323, allocations: 1.393 MB / 0.6698 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005007/0.08824, allocations: 2.718 MB / 0.6725 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.09015, allocations: 0.8351 MB / 0.6733 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004605/0.09476, allocations: 1.594 MB / 0.6748 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.09639, allocations: 0.6969 MB / 0.6755 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003093/0.0967, allocations: 112 kB / 0.6756 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.09864, allocations: 0.6667 MB / 0.6763 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004151/0.09906, allocations: 282.8 kB / 0.6766 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008312/0.09989, allocations: 426.9 kB / 0.677 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.1035, allocations: 1.947 MB / 0.6789 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1035, allocations: 0 / 0.6789 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1035, allocations: 0 / 0.6789 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.723e-05/0.1036, allocations: 3.938 kB / 0.6789 GB, free: 6.617 MB / 0.5919 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.003278/0.1069, allocations: 1.48 MB / 0.6803 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1069, allocations: 12.03 kB / 0.6803 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.1089, allocations: 331.8 kB / 0.6806 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.1109, allocations: 0.9128 MB / 0.6815 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/0.111, allocations: 58.38 kB / 0.6816 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.1111, allocations: 79.94 kB / 0.6817 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.1136, allocations: 1.138 MB / 0.6828 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.1136, allocations: 4 kB / 0.6828 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.1137, allocations: 32 kB / 0.6828 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.1138, allocations: 20 kB / 0.6828 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.1163, allocations: 0.8156 MB / 0.6836 GB, free: 1.582 MB / 0.5919 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.005617/0.1219, allocations: 3.226 MB / 0.6868 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.1239, allocations: 0.5826 MB / 0.6873 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009432/0.1248, allocations: 297.4 kB / 0.6876 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.1255, allocations: 124.2 kB / 0.6877 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.1267, allocations: 0.5184 MB / 0.6882 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/0.1267, allocations: 0 / 0.6882 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.003252/0.13, allocations: 0.9651 MB / 0.6892 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.1301, allocations: 106.8 kB / 0.6893 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.1312, allocations: 0.7431 MB / 0.69 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.372e-05/0.1313, allocations: 37.7 kB / 0.6901 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.1318, allocations: 0.5039 MB / 0.6905 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.132, allocations: 162.6 kB / 0.6907 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.1322, allocations: 134.2 kB / 0.6908 GB, free: 10 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.1324, allocations: 333.9 kB / 0.6911 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.1334, allocations: 326.8 kB / 0.6915 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.1347, allocations: 0.6352 MB / 0.6921 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.1368, allocations: 0.775 MB / 0.6928 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.1368, allocations: 7.938 kB / 0.6928 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002685/0.1395, allocations: 0.9449 MB / 0.6938 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.1396, allocations: 34.36 kB / 0.6938 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1396, allocations: 4 kB / 0.6938 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.1396, allocations: 12 kB / 0.6938 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.1407, allocations: 195.7 kB / 0.694 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.1407, allocations: 15.88 kB / 0.694 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/0.1416, allocations: 111.5 kB / 0.6941 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/0.1417, allocations: 39.92 kB / 0.6942 GB, free: 6.363 MB / 0.6075 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.0004766/0.1422, allocations: 262.7 kB / 0.6944 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.1424, allocations: 87.44 kB / 0.6945 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.1454, allocations: 1.088 MB / 0.6956 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.1454, allocations: 8 kB / 0.6956 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1454, allocations: 48 / 0.6956 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.1455, allocations: 7.969 kB / 0.6956 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.1496, allocations: 1.842 MB / 0.6974 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.1496, allocations: 4 kB / 0.6974 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/0.1505, allocations: 151.8 kB / 0.6975 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.1506, allocations: 4 kB / 0.6975 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.893e-05/0.1506, allocations: 23.92 kB / 0.6975 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.1506, allocations: 4.156 kB / 0.6976 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1506, allocations: 8 kB / 0.6976 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.1543, allocations: 1.462 MB / 0.699 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/0.1547, allocations: 183.2 kB / 0.6992 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.1549, allocations: 27.81 kB / 0.6992 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/0.1557, allocations: 67.98 kB / 0.6993 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.1558, allocations: 48.41 kB / 0.6993 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.1559, allocations: 23.98 kB / 0.6993 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001033/0.157, allocations: 0.5224 MB / 0.6998 GB, free: 484 kB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.157, allocations: 0 / 0.6998 GB, free: 484 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001613/0.1586, allocations: 406.8 kB / 0.7002 GB, free: 76 kB / 0.6075 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.2882/0.4468, allocations: 0.7217 MB / 0.7009 GB, free: 88.78 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002542/0.4493, allocations: 0.8164 MB / 0.7017 GB, free: 88.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4493, allocations: 1.562 kB / 0.7017 GB, free: 88.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4504, allocations: 396.2 kB / 0.7021 GB, free: 88.67 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.4524, allocations: 362.6 kB / 0.7024 GB, free: 88.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008453/0.4609, allocations: 2.299 MB / 0.7047 GB, free: 87.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.4614, allocations: 457 kB / 0.7051 GB, free: 87.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008551/0.4622, allocations: 197 kB / 0.7053 GB, free: 87.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.4625, allocations: 97.2 kB / 0.7054 GB, free: 87.55 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/0.4625, allocations: 4.875 kB / 0.7054 GB, free: 87.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.03396/0.4965, allocations: 18.9 MB / 0.7239 GB, free: 81.7 MB / 0.6075 GB " [Timeout remaining time 659] 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: 6.878995679318905] Failed to read output from testmodel.py, exit status != 0: 0.5059236586093903 0.529986415 0.422227087 Calling exit ...