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.001277/0.001277, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.001449/0.001449, allocations: 166.7 kB / 22.46 MB, free: 5.359 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.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.204/1.204, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 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 178] 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.643e-06/1.643e-06, allocations: 0 / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.869e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04787/0.0479, allocations: 38.49 MB / 0.6561 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.06629, allocations: 10.42 MB / 0.6663 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.06833, allocations: 75.38 kB / 0.6663 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.07009, allocations: 0.5662 MB / 0.6669 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.07496, allocations: 1.534 MB / 0.6684 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.07901, allocations: 1.386 MB / 0.6697 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004483/0.08349, allocations: 2.725 MB / 0.6724 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.08518, allocations: 0.835 MB / 0.6732 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.08933, allocations: 1.6 MB / 0.6748 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.09077, allocations: 0.693 MB / 0.6755 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.09099, allocations: 115.9 kB / 0.6756 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.09279, allocations: 0.6589 MB / 0.6762 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.09316, allocations: 290.8 kB / 0.6765 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007393/0.0939, allocations: 422.9 kB / 0.6769 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.09766, allocations: 1.951 MB / 0.6788 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.09766, allocations: 0 / 0.6788 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.09767, allocations: 0 / 0.6788 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.027e-05/0.09769, allocations: 0 / 0.6788 GB, free: 6.699 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.002819/0.1005, allocations: 1.477 MB / 0.6802 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1005, allocations: 9.469 kB / 0.6803 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.1025, allocations: 339.8 kB / 0.6806 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.1045, allocations: 0.9051 MB / 0.6815 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.1045, allocations: 58.38 kB / 0.6815 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.1047, allocations: 83.92 kB / 0.6816 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.1071, allocations: 1.134 MB / 0.6827 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.1072, allocations: 11.94 kB / 0.6827 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.1072, allocations: 32 kB / 0.6827 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.1073, allocations: 20 kB / 0.6828 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.1097, allocations: 0.8156 MB / 0.6836 GB, free: 1.66 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.005457/0.1151, allocations: 3.219 MB / 0.6867 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.117, allocations: 0.5857 MB / 0.6873 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009109/0.1179, allocations: 297.4 kB / 0.6876 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/0.1186, allocations: 116.3 kB / 0.6877 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.1198, allocations: 0.5262 MB / 0.6882 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.856e-06/0.1198, allocations: 0 / 0.6882 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.003261/0.1231, allocations: 0.9612 MB / 0.6891 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.1232, allocations: 118.8 kB / 0.6892 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.1244, allocations: 0.7431 MB / 0.69 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/0.1244, allocations: 33.7 kB / 0.69 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005121/0.1249, allocations: 0.5039 MB / 0.6905 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.1251, allocations: 166.6 kB / 0.6906 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.1254, allocations: 130.2 kB / 0.6908 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1256, allocations: 337.9 kB / 0.6911 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009935/0.1266, allocations: 326.8 kB / 0.6914 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.1278, allocations: 0.6274 MB / 0.692 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.1299, allocations: 0.7867 MB / 0.6928 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.1299, allocations: 4 kB / 0.6928 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002675/0.1326, allocations: 0.9371 MB / 0.6937 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.1326, allocations: 41.69 kB / 0.6937 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1327, allocations: 8.594 kB / 0.6938 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.1327, allocations: 8 kB / 0.6938 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.1337, allocations: 199.7 kB / 0.6939 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.1338, allocations: 11.94 kB / 0.694 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.1346, allocations: 103.5 kB / 0.6941 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.013e-05/0.1347, allocations: 47.91 kB / 0.6941 GB, free: 6.438 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.0004857/0.1352, allocations: 258.7 kB / 0.6944 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.1354, allocations: 95.42 kB / 0.6944 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.1383, allocations: 1.082 MB / 0.6955 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.1384, allocations: 8 kB / 0.6955 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1384, allocations: 3.938 kB / 0.6955 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.1384, allocations: 3.984 kB / 0.6955 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.1425, allocations: 1.842 MB / 0.6973 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.1425, allocations: 4 kB / 0.6973 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.1434, allocations: 159.7 kB / 0.6975 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.1434, allocations: 4 kB / 0.6975 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.666e-05/0.1435, allocations: 23.92 kB / 0.6975 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.1435, allocations: 4 kB / 0.6975 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.1435, allocations: 4 kB / 0.6975 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.147, allocations: 1.47 MB / 0.6989 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.1474, allocations: 183.2 kB / 0.6991 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.1476, allocations: 27.81 kB / 0.6991 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/0.1484, allocations: 67.98 kB / 0.6992 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1485, allocations: 48.41 kB / 0.6993 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/0.1486, allocations: 23.98 kB / 0.6993 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00079/0.1493, allocations: 0.5224 MB / 0.6998 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1493, allocations: 0 / 0.6998 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001168/0.1505, allocations: 394.9 kB / 0.7002 GB, free: 160 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.2841/0.4346, allocations: 0.724 MB / 0.7009 GB, free: 88.78 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002921/0.4375, allocations: 0.8154 MB / 0.7017 GB, free: 88.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.4375, allocations: 4.812 kB / 0.7017 GB, free: 88.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.4387, allocations: 392.2 kB / 0.702 GB, free: 88.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.4407, allocations: 367.3 kB / 0.7024 GB, free: 88.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008399/0.4491, allocations: 2.301 MB / 0.7046 GB, free: 87.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.4496, allocations: 460.8 kB / 0.7051 GB, free: 87.58 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008301/0.4504, allocations: 190.2 kB / 0.7053 GB, free: 87.56 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.4507, allocations: 96.92 kB / 0.7054 GB, free: 87.55 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.4507, allocations: 0 / 0.7054 GB, free: 87.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.03234/0.483, allocations: 18.9 MB / 0.7238 GB, free: 81.71 MB / 0.6075 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: 6.813885796815157] Failed to read output from testmodel.py, exit status != 0: 0.49232688918709755 0.503185646 0.40312159200000003 Calling exit ...