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.001402/0.001402, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001559/0.001559, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.526/1.526, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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-535:34: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-535:42: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.251/1.251, allocations: 154.8 MB / 414.3 MB, free: 476 kB / 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 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.884e-06/1.884e-06, allocations: 0 / 0.5198 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.18e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.05493/0.05496, allocations: 38.48 MB / 0.5574 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.07444, allocations: 10.45 MB / 0.5676 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.07628, allocations: 67.44 kB / 0.5677 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.07812, allocations: 0.5662 MB / 0.5682 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004992/0.08312, allocations: 1.534 MB / 0.5697 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/0.0872, allocations: 1.369 MB / 0.5711 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004674/0.09187, allocations: 2.731 MB / 0.5737 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.09359, allocations: 0.8705 MB / 0.5746 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004327/0.09791, allocations: 1.626 MB / 0.5762 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.09931, allocations: 0.6853 MB / 0.5768 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.09952, allocations: 111.9 kB / 0.577 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.1013, allocations: 0.6666 MB / 0.5776 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.1017, allocations: 286.8 kB / 0.5779 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.1024, allocations: 434.9 kB / 0.5783 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.1069, allocations: 1.939 MB / 0.5802 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.1069, allocations: 0 / 0.5802 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1069, allocations: 4 kB / 0.5802 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.672e-05/0.1069, allocations: 0 / 0.5802 GB, free: 4.488 MB / 0.5417 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.003122/0.11, allocations: 1.484 MB / 0.5816 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1101, allocations: 12.03 kB / 0.5816 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.1122, allocations: 387.8 kB / 0.582 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.1143, allocations: 0.9598 MB / 0.583 GB, free: 1.586 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.1144, allocations: 58.38 kB / 0.583 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.1145, allocations: 83.94 kB / 0.5831 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.1171, allocations: 1.134 MB / 0.5842 GB, free: 232 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1171, allocations: 0 / 0.5842 GB, free: 232 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.404e-05/0.1172, allocations: 36 kB / 0.5842 GB, free: 196 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.1172, allocations: 16 kB / 0.5842 GB, free: 180 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.1198, allocations: 0.8274 MB / 0.5851 GB, free: 15.34 MB / 0.5573 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.006403/0.1262, allocations: 3.262 MB / 0.5882 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.1282, allocations: 0.5768 MB / 0.5888 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009566/0.1291, allocations: 297.4 kB / 0.5891 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.1298, allocations: 128.2 kB / 0.5892 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/0.1312, allocations: 0.5146 MB / 0.5897 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 5.591e-06/0.1312, allocations: 3.984 kB / 0.5897 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=47): time 0.003647/0.1348, allocations: 0.973 MB / 0.5907 GB, free: 9.449 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.1349, allocations: 110.8 kB / 0.5908 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.1362, allocations: 0.747 MB / 0.5915 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-05/0.1363, allocations: 33.7 kB / 0.5915 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000578/0.1369, allocations: 0.5 MB / 0.592 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.1371, allocations: 166.6 kB / 0.5922 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.1374, allocations: 134.2 kB / 0.5923 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1376, allocations: 337.9 kB / 0.5926 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009928/0.1386, allocations: 322.8 kB / 0.5929 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.1398, allocations: 0.6313 MB / 0.5936 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.142, allocations: 0.7828 MB / 0.5943 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.142, allocations: 4 kB / 0.5943 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002829/0.1448, allocations: 0.9726 MB / 0.5953 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.1449, allocations: 33.7 kB / 0.5953 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.1449, allocations: 7.984 kB / 0.5953 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/0.1449, allocations: 8 kB / 0.5953 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.146, allocations: 191.7 kB / 0.5955 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.146, allocations: 16.11 kB / 0.5955 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009431/0.147, allocations: 111.5 kB / 0.5956 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.1471, allocations: 39.92 kB / 0.5957 GB, free: 4.051 MB / 0.5573 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.0006253/0.1477, allocations: 268.6 kB / 0.5959 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.148, allocations: 107.4 kB / 0.596 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/0.1513, allocations: 1.081 MB / 0.5971 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.1513, allocations: 8 kB / 0.5971 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1513, allocations: 4 kB / 0.5971 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.1513, allocations: 7.922 kB / 0.5971 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.1557, allocations: 1.838 MB / 0.5989 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.1557, allocations: 0 / 0.5989 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/0.1567, allocations: 156 kB / 0.599 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.1567, allocations: 4 kB / 0.599 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.1568, allocations: 19.92 kB / 0.5991 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.1568, allocations: 7.984 kB / 0.5991 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.1568, allocations: 4 kB / 0.5991 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/0.1606, allocations: 1.489 MB / 0.6005 GB, free: 14.98 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005579/0.1612, allocations: 187.2 kB / 0.6007 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.1613, allocations: 15.94 kB / 0.6007 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.1621, allocations: 67.91 kB / 0.6008 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.1623, allocations: 48.41 kB / 0.6008 GB, free: 14.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.1623, allocations: 27.92 kB / 0.6009 GB, free: 14.64 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009116/0.1633, allocations: 0.5303 MB / 0.6014 GB, free: 14.12 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.1633, allocations: 0 / 0.6014 GB, free: 14.12 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001339/0.1646, allocations: 398.9 kB / 0.6018 GB, free: 13.73 MB / 0.573 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.002757/0.1674, allocations: 0.7471 MB / 0.6025 GB, free: 13.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.1699, allocations: 0.813 MB / 0.6033 GB, free: 12.36 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1699, allocations: 0 / 0.6033 GB, free: 12.36 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.1711, allocations: 398.7 kB / 0.6037 GB, free: 11.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.1733, allocations: 391.1 kB / 0.604 GB, free: 11.62 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/0.1821, allocations: 2.311 MB / 0.6063 GB, free: 9.246 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.1827, allocations: 466.8 kB / 0.6067 GB, free: 8.762 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009387/0.1836, allocations: 202.1 kB / 0.6069 GB, free: 8.562 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.1839, allocations: 92.39 kB / 0.607 GB, free: 8.473 MB / 0.573 GB Notification: Performance of SimCode: time 1.433e-06/0.1839, allocations: 0 / 0.607 GB, free: 8.473 MB / 0.573 GB Notification: Performance of Templates: time 0.03915/0.2231, allocations: 18.99 MB / 0.6256 GB, free: 5.863 MB / 0.5886 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.747776061994955]