Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009593/0.0009593, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002343, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001012/0.001012, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009775/0.00199, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9243/0.9243, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.026, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.77/0.77, allocations: 154.6 MB / 398.5 MB, free: 0.5 MB / 378.7 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3008/1.071, allocations: 49.03 MB / 447.6 MB, free: 6.672 MB / 426.7 MB " [Timeout remaining time 179] 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.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.612e-05, allocations: 2.312 kB / 448.9 MB, free: 5.402 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.01295/0.01297, allocations: 11.63 MB / 460.5 MB, free: 9.816 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007146/0.02012, allocations: 4.968 MB / 465.5 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.02185, allocations: 55.5 kB / 465.5 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.02286, allocations: 362.1 kB / 465.9 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.02523, allocations: 1.03 MB / 466.9 MB, free: 3.441 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.02711, allocations: 1.101 MB / 468 MB, free: 2.348 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00251/0.02962, allocations: 2.625 MB / 470.6 MB, free: 15.71 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009118/0.03053, allocations: 0.7397 MB / 471.4 MB, free: 14.96 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.03207, allocations: 1.328 MB / 472.7 MB, free: 13.63 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006838/0.03275, allocations: 0.598 MB / 473.3 MB, free: 13.04 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.03285, allocations: 88 kB / 473.4 MB, free: 12.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006558/0.03351, allocations: 368 kB / 473.7 MB, free: 12.59 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.03367, allocations: 217 kB / 473.9 MB, free: 12.38 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.03397, allocations: 303.4 kB / 474.2 MB, free: 12.08 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009655/0.03493, allocations: 0.9263 MB / 475.2 MB, free: 11.15 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.03494, allocations: 0 / 475.2 MB, free: 11.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03495, allocations: 0 / 475.2 MB, free: 11.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.03496, allocations: 0.5 kB / 475.2 MB, free: 11.15 MB / 458.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.001291/0.03625, allocations: 1.502 MB / 476.7 MB, free: 9.621 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.03628, allocations: 13.12 kB / 476.7 MB, free: 9.609 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.03652, allocations: 221.8 kB / 476.9 MB, free: 9.375 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007305/0.03725, allocations: 0.6711 MB / 477.6 MB, free: 8.684 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.03729, allocations: 53.69 kB / 477.6 MB, free: 8.633 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.03735, allocations: 72.75 kB / 477.7 MB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.03792, allocations: 0.7339 MB / 478.4 MB, free: 7.727 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.03793, allocations: 0 / 478.4 MB, free: 7.727 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.03796, allocations: 30.16 kB / 478.5 MB, free: 7.699 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.03797, allocations: 16 kB / 478.5 MB, free: 7.684 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.03822, allocations: 204.4 kB / 478.7 MB, free: 7.484 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.03999, allocations: 2.486 MB / 481.2 MB, free: 4.922 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.04022, allocations: 208.9 kB / 481.4 MB, free: 4.711 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.04031, allocations: 87.23 kB / 481.4 MB, free: 4.625 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.04043, allocations: 32.31 kB / 481.5 MB, free: 4.594 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.04067, allocations: 281.4 kB / 481.7 MB, free: 4.281 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 1.723e-06/0.04067, allocations: 0 / 481.7 MB, free: 4.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.0003544/0.04102, allocations: 259.4 kB / 482 MB, free: 4.023 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.04106, allocations: 59.19 kB / 482.1 MB, free: 3.953 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.0415, allocations: 0.6425 MB / 482.7 MB, free: 3.293 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.04154, allocations: 37.7 kB / 482.7 MB, free: 3.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.04171, allocations: 386.9 kB / 483.1 MB, free: 2.867 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.04179, allocations: 138.8 kB / 483.3 MB, free: 2.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.0419, allocations: 127.1 kB / 483.4 MB, free: 2.602 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.04199, allocations: 333.9 kB / 483.7 MB, free: 2.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.04207, allocations: 53.39 kB / 483.8 MB, free: 2.219 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.04235, allocations: 0.5952 MB / 484.4 MB, free: 1.457 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.04261, allocations: 344.2 kB / 484.7 MB, free: 1.051 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.04262, allocations: 0 / 484.7 MB, free: 1.051 MB / 458.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003525/0.04297, allocations: 353.8 kB / 485 MB, free: 0.7031 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.04299, allocations: 11.98 kB / 485 MB, free: 0.6914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.043, allocations: 8 kB / 485.1 MB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.04301, allocations: 8 kB / 485.1 MB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.04329, allocations: 147.8 kB / 485.2 MB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.04329, allocations: 15.92 kB / 485.2 MB, free: 0.5156 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.04351, allocations: 68.86 kB / 485.3 MB, free: 460 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.04356, allocations: 31.97 kB / 485.3 MB, free: 428 kB / 458.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.000156/0.04371, allocations: 154.3 kB / 485.5 MB, free: 264 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.04378, allocations: 72.67 kB / 485.5 MB, free: 192 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/0.04445, allocations: 0.6006 MB / 486.1 MB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.04446, allocations: 8.828 kB / 486.1 MB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.04446, allocations: 5.359 kB / 486.2 MB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.04447, allocations: 3.984 kB / 486.2 MB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.04564, allocations: 1.123 MB / 487.3 MB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.04565, allocations: 7.984 kB / 487.3 MB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.04583, allocations: 93.58 kB / 487.4 MB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.04601, allocations: 147.1 kB / 487.5 MB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.04602, allocations: 7.938 kB / 487.5 MB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.04605, allocations: 19.98 kB / 487.6 MB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.04606, allocations: 4.562 kB / 487.6 MB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.04607, allocations: 9.312 kB / 487.6 MB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.04654, allocations: 0.5862 MB / 488.2 MB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.0466, allocations: 18.41 kB / 488.2 MB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.04676, allocations: 31.92 kB / 488.2 MB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.04683, allocations: 52.41 kB / 488.3 MB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.04686, allocations: 27.98 kB / 488.3 MB, free: 13.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002296/0.04709, allocations: 315.3 kB / 488.6 MB, free: 13.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.04709, allocations: 0.6562 kB / 488.6 MB, free: 13.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006098/0.0477, allocations: 291.3 kB / 488.9 MB, free: 12.72 MB / 474.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.001666/0.04936, allocations: 0.7856 MB / 489.7 MB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.04976, allocations: 298.3 kB / 489.9 MB, free: 12.08 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.052e-05/0.04978, allocations: 12 kB / 490 MB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.04996, allocations: 187.5 kB / 490.1 MB, free: 11.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/0.05074, allocations: 395.8 kB / 490.5 MB, free: 11.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/0.05708, allocations: 1.606 MB / 492.1 MB, free: 9.844 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.05721, allocations: 197.2 kB / 492.3 MB, free: 9.629 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003554/0.05757, allocations: 139.5 kB / 492.5 MB, free: 9.504 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/0.05806, allocations: 336.2 kB / 492.8 MB, free: 9.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/0.05806, allocations: 0 / 492.8 MB, free: 9.18 MB / 474.7 MB Notification: Performance of Templates: time 0.02075/0.07881, allocations: 17.44 MB / 0.4983 GB, free: 8.34 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9524929029867053]