Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.0009668/0.0009668, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009445/0.0009445, allocations: 181 kB / 23.36 MB, free: 1.133 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.024/1.024, allocations: 177.2 MB / 203.8 MB, free: 5.469 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-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 0.7837/0.7837, allocations: 154.9 MB / 415.1 MB, free: 244 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 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.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.129e-05, allocations: 2.859 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.01399/0.01402, allocations: 11.58 MB / 492 MB, free: 10.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006507/0.02052, allocations: 4.936 MB / 496.9 MB, free: 6.059 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007806/0.0213, allocations: 59.44 kB / 497 MB, free: 6 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000556/0.02186, allocations: 341.2 kB / 497.3 MB, free: 5.664 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.02343, allocations: 1.03 MB / 498.3 MB, free: 4.637 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.02508, allocations: 1.121 MB / 499.4 MB, free: 3.52 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.0275, allocations: 2.635 MB / 0.4903 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000898/0.0284, allocations: 0.7437 MB / 0.491 GB, free: 132 kB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.02975, allocations: 1.225 MB / 0.4922 GB, free: 14.9 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.03039, allocations: 0.5917 MB / 0.4928 GB, free: 14.31 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.0305, allocations: 88 kB / 0.4929 GB, free: 14.22 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.03113, allocations: 364.3 kB / 0.4932 GB, free: 13.87 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.0313, allocations: 270.9 kB / 0.4935 GB, free: 13.6 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.03159, allocations: 368.5 kB / 0.4939 GB, free: 13.24 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009973/0.03258, allocations: 0.9886 MB / 0.4948 GB, free: 12.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.03259, allocations: 0 / 0.4948 GB, free: 12.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.03259, allocations: 0 / 0.4948 GB, free: 12.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.0326, allocations: 1.281 kB / 0.4948 GB, free: 12.25 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001128/0.03373, allocations: 1.277 MB / 0.4961 GB, free: 10.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.03376, allocations: 8.031 kB / 0.4961 GB, free: 10.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.03397, allocations: 145.3 kB / 0.4962 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.03471, allocations: 0.6559 MB / 0.4969 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.03475, allocations: 49.69 kB / 0.4969 GB, free: 10.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.03481, allocations: 71.94 kB / 0.497 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.03541, allocations: 0.7391 MB / 0.4977 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.03542, allocations: 0 / 0.4977 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.03546, allocations: 28 kB / 0.4977 GB, free: 9.133 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.03547, allocations: 16.94 kB / 0.4977 GB, free: 9.117 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.03572, allocations: 209.2 kB / 0.4979 GB, free: 8.914 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.03749, allocations: 2.48 MB / 0.5004 GB, free: 6.355 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.0377, allocations: 203.1 kB / 0.5006 GB, free: 6.148 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.03779, allocations: 96.94 kB / 0.5006 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.0379, allocations: 29.19 kB / 0.5007 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.03816, allocations: 284.6 kB / 0.5009 GB, free: 5.707 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 1.543e-06/0.03816, allocations: 1.031 kB / 0.5009 GB, free: 5.707 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.0003404/0.0385, allocations: 254.3 kB / 0.5012 GB, free: 5.453 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.03855, allocations: 116.2 kB / 0.5013 GB, free: 5.316 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.03898, allocations: 0.6419 MB / 0.5019 GB, free: 4.664 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.03902, allocations: 33.7 kB / 0.502 GB, free: 4.625 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.03919, allocations: 386 kB / 0.5023 GB, free: 4.242 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.03926, allocations: 142.8 kB / 0.5025 GB, free: 4.102 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.03938, allocations: 120.9 kB / 0.5026 GB, free: 3.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.03945, allocations: 329.9 kB / 0.5029 GB, free: 3.652 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.03953, allocations: 56.11 kB / 0.5029 GB, free: 3.598 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.0398, allocations: 0.5991 MB / 0.5035 GB, free: 2.832 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.04007, allocations: 339.4 kB / 0.5039 GB, free: 2.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.04008, allocations: 0 / 0.5039 GB, free: 2.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003519/0.04043, allocations: 358.4 kB / 0.5042 GB, free: 2.078 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.04044, allocations: 8 kB / 0.5042 GB, free: 2.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.04045, allocations: 4 kB / 0.5042 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.04046, allocations: 8 kB / 0.5042 GB, free: 2.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.04071, allocations: 131.8 kB / 0.5043 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.04072, allocations: 11.94 kB / 0.5043 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.04092, allocations: 69.5 kB / 0.5044 GB, free: 1.852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.04097, allocations: 27.98 kB / 0.5044 GB, free: 1.824 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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.0001501/0.04112, allocations: 161.6 kB / 0.5046 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.04118, allocations: 68.83 kB / 0.5047 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.04185, allocations: 0.6045 MB / 0.5053 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.04186, allocations: 4 kB / 0.5053 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.04186, allocations: 4.828 kB / 0.5053 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.04187, allocations: 4 kB / 0.5053 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.04294, allocations: 1.129 MB / 0.5064 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.04294, allocations: 4 kB / 0.5064 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.0431, allocations: 89.64 kB / 0.5065 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.0431, allocations: 8 kB / 0.5065 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.04312, allocations: 19.98 kB / 0.5065 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.04313, allocations: 7.938 kB / 0.5065 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.04313, allocations: 9.562 kB / 0.5065 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.04354, allocations: 0.5823 MB / 0.5071 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.0437, allocations: 144.5 kB / 0.5072 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.04375, allocations: 20 kB / 0.5072 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.04391, allocations: 31.92 kB / 0.5073 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.04398, allocations: 52.94 kB / 0.5073 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.04401, allocations: 23.98 kB / 0.5073 GB, free: 14.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.04424, allocations: 320 kB / 0.5076 GB, free: 14.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04424, allocations: 0 / 0.5076 GB, free: 14.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005454/0.04478, allocations: 296.7 kB / 0.5079 GB, free: 14.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 4 * 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.001516/0.0463, allocations: 0.7148 MB / 0.5086 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.04667, allocations: 305.3 kB / 0.5089 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.04668, allocations: 12 kB / 0.5089 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.04687, allocations: 184.9 kB / 0.5091 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.04762, allocations: 334.5 kB / 0.5094 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.0495, allocations: 1.544 MB / 0.5109 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.04963, allocations: 201.2 kB / 0.5111 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002974/0.04992, allocations: 143.2 kB / 0.5112 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.05042, allocations: 333.7 kB / 0.5116 GB, free: 10.71 MB / 490.7 MB Notification: Performance of SimCode: time 1.724e-06/0.05042, allocations: 3.938 kB / 0.5116 GB, free: 10.71 MB / 490.7 MB Notification: Performance of Templates: time 0.01914/0.06956, allocations: 16.83 MB / 0.528 GB, free: 10.43 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.054107823874801]