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.001126/0.001126, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001492/0.001492, allocations: 177 kB / 23.36 MB, free: 1.125 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 0.9456/0.9456, 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 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.7735/0.7735, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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. " [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.273e-06/1.273e-06, allocations: 0 / 480 MB, free: 6.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.822e-05, allocations: 5.391 kB / 480 MB, free: 6.977 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.01005/0.01008, allocations: 11.52 MB / 491.5 MB, free: 11.49 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.01673, allocations: 4.943 MB / 496.4 MB, free: 6.574 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009058/0.01763, allocations: 59.44 kB / 496.5 MB, free: 6.516 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000737/0.01837, allocations: 341.2 kB / 496.8 MB, free: 6.18 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.02015, allocations: 1.034 MB / 497.9 MB, free: 5.148 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.02186, allocations: 1.124 MB / 499 MB, free: 4.031 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.02436, allocations: 2.639 MB / 0.4899 GB, free: 1.383 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.02537, allocations: 0.7683 MB / 0.4906 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.02699, allocations: 1.248 MB / 0.4918 GB, free: 15.34 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008329/0.02782, allocations: 0.5967 MB / 0.4924 GB, free: 14.75 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.02796, allocations: 89.16 kB / 0.4925 GB, free: 14.66 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.02861, allocations: 347.4 kB / 0.4928 GB, free: 14.32 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.02881, allocations: 270.9 kB / 0.4931 GB, free: 14.05 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.02914, allocations: 371.8 kB / 0.4935 GB, free: 13.69 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.03037, allocations: 0.9847 MB / 0.4944 GB, free: 12.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.03037, allocations: 5.844 kB / 0.4944 GB, free: 12.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.03038, allocations: 0 / 0.4944 GB, free: 12.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.0304, allocations: 0 / 0.4944 GB, free: 12.7 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.00141/0.03181, allocations: 1.27 MB / 0.4957 GB, free: 11.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.03185, allocations: 8.031 kB / 0.4957 GB, free: 11.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.03208, allocations: 141.5 kB / 0.4958 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007878/0.03287, allocations: 0.6585 MB / 0.4964 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.03291, allocations: 53.69 kB / 0.4965 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.03298, allocations: 79.92 kB / 0.4966 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.03359, allocations: 0.7258 MB / 0.4973 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.0336, allocations: 7.938 kB / 0.4973 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.03364, allocations: 31.12 kB / 0.4973 GB, free: 9.582 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.03365, allocations: 16 kB / 0.4973 GB, free: 9.566 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.03392, allocations: 210.1 kB / 0.4975 GB, free: 9.363 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.0358, allocations: 2.474 MB / 0.5 GB, free: 6.816 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.03604, allocations: 219.1 kB / 0.5002 GB, free: 6.594 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.03613, allocations: 86.03 kB / 0.5002 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.03625, allocations: 36.3 kB / 0.5003 GB, free: 6.473 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.03647, allocations: 272.9 kB / 0.5005 GB, free: 6.168 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 1.893e-06/0.03647, allocations: 0 / 0.5005 GB, free: 6.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.0003658/0.03684, allocations: 261.3 kB / 0.5008 GB, free: 5.906 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.03689, allocations: 115.5 kB / 0.5009 GB, free: 5.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.03733, allocations: 0.6394 MB / 0.5015 GB, free: 5.121 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.03737, allocations: 37.7 kB / 0.5016 GB, free: 5.078 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.03754, allocations: 386 kB / 0.5019 GB, free: 4.695 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.03762, allocations: 134.8 kB / 0.5021 GB, free: 4.562 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.03773, allocations: 123.2 kB / 0.5022 GB, free: 4.434 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.03781, allocations: 329.9 kB / 0.5025 GB, free: 4.105 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.03789, allocations: 56.11 kB / 0.5025 GB, free: 4.051 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.03816, allocations: 0.6039 MB / 0.5031 GB, free: 3.281 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.03844, allocations: 333.6 kB / 0.5034 GB, free: 2.887 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.03845, allocations: 4 kB / 0.5035 GB, free: 2.883 MB / 474.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003743/0.03882, allocations: 348.7 kB / 0.5038 GB, free: 2.539 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.03884, allocations: 8 kB / 0.5038 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.03884, allocations: 4 kB / 0.5038 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.03886, allocations: 9.5 kB / 0.5038 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.0391, allocations: 123.8 kB / 0.5039 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.03911, allocations: 11.94 kB / 0.5039 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.03932, allocations: 72.22 kB / 0.504 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.03936, allocations: 27.98 kB / 0.504 GB, free: 2.293 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.000158/0.03952, allocations: 160.5 kB / 0.5042 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.03959, allocations: 72.83 kB / 0.5043 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006724/0.04026, allocations: 0.6002 MB / 0.5048 GB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.04027, allocations: 12.48 kB / 0.5048 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.04027, allocations: 0 / 0.5048 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.04028, allocations: 5.016 kB / 0.5049 GB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.0414, allocations: 1.128 MB / 0.506 GB, free: 244 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.04141, allocations: 7.984 kB / 0.506 GB, free: 236 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.04156, allocations: 71.91 kB / 0.506 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.04157, allocations: 9.812 kB / 0.506 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.04159, allocations: 19.98 kB / 0.5061 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.0416, allocations: 11.88 kB / 0.5061 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.0416, allocations: 4 kB / 0.5061 GB, free: 120 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.04204, allocations: 0.584 MB / 0.5066 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.04221, allocations: 151.1 kB / 0.5068 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.04226, allocations: 12 kB / 0.5068 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.04243, allocations: 32.67 kB / 0.5068 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.0425, allocations: 56.34 kB / 0.5069 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.04253, allocations: 29.39 kB / 0.5069 GB, free: 15.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000245/0.04278, allocations: 311.3 kB / 0.5072 GB, free: 14.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04278, allocations: 0 / 0.5072 GB, free: 14.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005891/0.04336, allocations: 300.6 kB / 0.5075 GB, free: 14.6 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.001446/0.04481, allocations: 0.7127 MB / 0.5082 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.04519, allocations: 307.3 kB / 0.5085 GB, free: 13.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.0452, allocations: 8 kB / 0.5085 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.04538, allocations: 183 kB / 0.5087 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007735/0.04615, allocations: 336 kB / 0.509 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.04813, allocations: 1.555 MB / 0.5105 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.04826, allocations: 197.2 kB / 0.5107 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003239/0.04858, allocations: 142.5 kB / 0.5108 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.04908, allocations: 337.9 kB / 0.5112 GB, free: 11.18 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/0.04908, allocations: 0 / 0.5112 GB, free: 11.18 MB / 490.7 MB Notification: Performance of Templates: time 0.0206/0.06967, allocations: 16.82 MB / 0.5276 GB, free: 10.92 MB / 0.4948 GB " [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: 4.023370482027531]