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.001396/0.001396, allocations: 92.22 kB / 19.65 MB, free: 276 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.001154/0.001154, allocations: 169 kB / 23.02 MB, free: 1.547 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.071/1.071, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.7929/0.7929, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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 2.655e-06/2.655e-06, allocations: 4 kB / 0.5203 GB, free: 1.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.745e-05, allocations: 2.312 kB / 0.5203 GB, free: 1.133 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.01029/0.01032, allocations: 11.63 MB / 0.5317 GB, free: 5.492 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007157/0.01748, allocations: 4.857 MB / 0.5364 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.01931, allocations: 59.44 kB / 0.5365 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009359/0.02025, allocations: 345.1 kB / 0.5368 GB, free: 272 kB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.02265, allocations: 1.034 MB / 0.5378 GB, free: 15.23 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.02455, allocations: 1.118 MB / 0.5389 GB, free: 14.12 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.02734, allocations: 2.636 MB / 0.5415 GB, free: 11.47 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.02847, allocations: 0.7659 MB / 0.5422 GB, free: 10.69 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.03019, allocations: 1.262 MB / 0.5434 GB, free: 9.426 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009683/0.03116, allocations: 0.6241 MB / 0.5441 GB, free: 8.801 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.03127, allocations: 88 kB / 0.5441 GB, free: 8.715 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.03198, allocations: 351.3 kB / 0.5445 GB, free: 8.371 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.0322, allocations: 266.9 kB / 0.5447 GB, free: 8.109 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.03253, allocations: 371.9 kB / 0.5451 GB, free: 7.746 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.03371, allocations: 0.9809 MB / 0.546 GB, free: 6.762 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.03371, allocations: 5.219 kB / 0.546 GB, free: 6.758 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.03371, allocations: 0 / 0.546 GB, free: 6.758 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.03373, allocations: 0 / 0.546 GB, free: 6.758 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.001469/0.0352, allocations: 1.393 MB / 0.5474 GB, free: 5.328 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.03524, allocations: 8.625 kB / 0.5474 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.03553, allocations: 188.9 kB / 0.5476 GB, free: 5.137 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008882/0.03641, allocations: 0.8221 MB / 0.5484 GB, free: 4.289 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.03646, allocations: 53.69 kB / 0.5485 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.03653, allocations: 75.92 kB / 0.5485 GB, free: 4.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.03732, allocations: 0.8033 MB / 0.5493 GB, free: 3.234 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.03734, allocations: 0 / 0.5493 GB, free: 3.234 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.03739, allocations: 28 kB / 0.5493 GB, free: 3.207 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.0374, allocations: 18.09 kB / 0.5494 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.03781, allocations: 276.3 kB / 0.5496 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.04049, allocations: 3.667 MB / 0.5532 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.04079, allocations: 193 kB / 0.5534 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.04092, allocations: 116.3 kB / 0.5535 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.04107, allocations: 28.31 kB / 0.5535 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.04134, allocations: 288.5 kB / 0.5538 GB, free: 14.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 2.655e-06/0.04134, allocations: 0 / 0.5538 GB, free: 14.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006163/0.04196, allocations: 420.8 kB / 0.5542 GB, free: 14.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.04202, allocations: 116 kB / 0.5543 GB, free: 13.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.04257, allocations: 0.7064 MB / 0.555 GB, free: 13.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.04261, allocations: 37.7 kB / 0.555 GB, free: 13.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.04287, allocations: 0.5247 MB / 0.5555 GB, free: 12.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.04295, allocations: 142.8 kB / 0.5557 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.04308, allocations: 131.9 kB / 0.5558 GB, free: 12.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.04319, allocations: 0.5003 MB / 0.5563 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.04331, allocations: 73.25 kB / 0.5564 GB, free: 11.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.04366, allocations: 0.7048 MB / 0.5571 GB, free: 10.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.04404, allocations: 431.1 kB / 0.5575 GB, free: 10.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.04404, allocations: 0 / 0.5575 GB, free: 10.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007108/0.04475, allocations: 490.1 kB / 0.5579 GB, free: 9.875 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.04477, allocations: 8 kB / 0.5579 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.04478, allocations: 8 kB / 0.5579 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.0448, allocations: 8 kB / 0.558 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.04505, allocations: 119.8 kB / 0.5581 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.04506, allocations: 16.55 kB / 0.5581 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.0453, allocations: 68.33 kB / 0.5581 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.04534, allocations: 33.14 kB / 0.5582 GB, free: 9.621 MB / 490.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.0001634/0.04551, allocations: 204.3 kB / 0.5584 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/0.0456, allocations: 108 kB / 0.5585 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008505/0.04645, allocations: 0.7376 MB / 0.5592 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.04646, allocations: 15.98 kB / 0.5592 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.04646, allocations: 0.625 kB / 0.5592 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.04647, allocations: 3.984 kB / 0.5592 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.04789, allocations: 1.45 MB / 0.5606 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.0479, allocations: 4 kB / 0.5606 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.04805, allocations: 88.7 kB / 0.5607 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.04806, allocations: 4 kB / 0.5607 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.04808, allocations: 19.12 kB / 0.5607 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.04808, allocations: 15.92 kB / 0.5608 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.04809, allocations: 4 kB / 0.5608 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/0.04871, allocations: 0.7669 MB / 0.5615 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.0489, allocations: 175 kB / 0.5617 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.04896, allocations: 23.98 kB / 0.5617 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.04912, allocations: 29.23 kB / 0.5617 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.0492, allocations: 60.28 kB / 0.5618 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.04923, allocations: 28.48 kB / 0.5618 GB, free: 5.738 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003433/0.04958, allocations: 458.9 kB / 0.5623 GB, free: 5.293 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04958, allocations: 1.031 kB / 0.5623 GB, free: 5.293 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005879/0.05016, allocations: 295.2 kB / 0.5625 GB, free: 5.004 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.001246/0.05141, allocations: 0.5886 MB / 0.5631 GB, free: 4.656 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004973/0.05191, allocations: 348.5 kB / 0.5634 GB, free: 4.312 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.05191, allocations: 0 / 0.5634 GB, free: 4.312 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.05215, allocations: 229.4 kB / 0.5637 GB, free: 4.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/0.05302, allocations: 323.8 kB / 0.564 GB, free: 3.797 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.05527, allocations: 1.608 MB / 0.5655 GB, free: 2.098 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.0554, allocations: 198.4 kB / 0.5657 GB, free: 1.879 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003306/0.05574, allocations: 165.7 kB / 0.5659 GB, free: 1.723 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.05588, allocations: 103.2 kB / 0.566 GB, free: 1.625 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/0.05588, allocations: 0 / 0.566 GB, free: 1.625 MB / 490.7 MB Notification: Performance of Templates: time 0.01848/0.07437, allocations: 14.94 MB / 0.5806 GB, free: 3.074 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.407802250236273]