Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 0.9699/0.9699, allocations: 175.7 MB / 480.1 MB, free: 2.816 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 64.09 kB / 0.6677 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1502, allocations: 94.52 MB / 0.76 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.04533/0.1956, allocations: 44.15 MB / 0.8032 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.2059, allocations: 7.343 MB / 0.8103 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.207, allocations: 47.62 kB / 0.8104 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.2083, allocations: 496.3 kB / 0.8109 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.2117, allocations: 1.497 MB / 0.8123 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.2141, allocations: 1.068 MB / 0.8134 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002757/0.2168, allocations: 2.514 MB / 0.8158 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009833/0.2178, allocations: 0.6992 MB / 0.8165 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.2202, allocations: 1.428 MB / 0.8179 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000848/0.2211, allocations: 0.7 MB / 0.8186 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.2212, allocations: 80 kB / 0.8187 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.2228, allocations: 0.8383 MB / 0.8195 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.223, allocations: 243 kB / 0.8197 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.2235, allocations: 0.5053 MB / 0.8202 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.2254, allocations: 1.561 MB / 0.8217 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2254, allocations: 3.938 kB / 0.8217 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2254, allocations: 0 / 0.8217 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.2254, allocations: 0 / 0.8217 GB, free: 1.461 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001979/0.2274, allocations: 1.388 MB / 0.8231 GB, free: 4 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.2275, allocations: 8.078 kB / 0.8231 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.2276, allocations: 122.6 kB / 0.8232 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.2278, allocations: 116.2 kB / 0.8233 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.2289, allocations: 0.757 MB / 0.8241 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.2289, allocations: 58 kB / 0.8241 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.229, allocations: 68 kB / 0.8242 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.2305, allocations: 0.8417 MB / 0.825 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2305, allocations: 0 / 0.825 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.2305, allocations: 28 kB / 0.825 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.2306, allocations: 19.98 kB / 0.825 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.2319, allocations: 0.5904 MB / 0.8256 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003919/0.2358, allocations: 3.981 MB / 0.8295 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2369, allocations: 366.4 kB / 0.8299 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.2374, allocations: 220.5 kB / 0.8301 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.2385, allocations: 1.31 MB / 0.8313 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/0.2391, allocations: 297.8 kB / 0.8316 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.853e-06/0.2391, allocations: 0 / 0.8316 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001827/0.241, allocations: 0.7048 MB / 0.8323 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.241, allocations: 59.41 kB / 0.8324 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/0.2419, allocations: 0.7238 MB / 0.8331 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.2419, allocations: 37.7 kB / 0.8331 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.2423, allocations: 456.5 kB / 0.8336 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.2424, allocations: 134.9 kB / 0.8337 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.2426, allocations: 138.1 kB / 0.8338 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2428, allocations: 326 kB / 0.8341 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.2433, allocations: 213 kB / 0.8343 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/0.2441, allocations: 423.7 kB / 0.8347 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.2453, allocations: 0.6585 MB / 0.8354 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2453, allocations: 3.938 kB / 0.8354 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001598/0.2469, allocations: 0.7723 MB / 0.8361 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.247, allocations: 71.33 kB / 0.8362 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.247, allocations: 8 kB / 0.8362 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.247, allocations: 8 kB / 0.8362 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.2475, allocations: 135.7 kB / 0.8363 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.2475, allocations: 12.39 kB / 0.8364 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.2481, allocations: 115.3 kB / 0.8365 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.2482, allocations: 43.92 kB / 0.8365 GB, free: 1.301 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.00031/0.2485, allocations: 237.7 kB / 0.8367 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.2486, allocations: 87.42 kB / 0.8368 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2767/0.5253, allocations: 1.104 MB / 0.8379 GB, free: 76.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/0.5253, allocations: 13.47 kB / 0.8379 GB, free: 76.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5253, allocations: 0 / 0.8379 GB, free: 76.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.5254, allocations: 7.844 kB / 0.8379 GB, free: 76.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.5284, allocations: 1.917 MB / 0.8398 GB, free: 75.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.5284, allocations: 2.594 kB / 0.8398 GB, free: 75.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.5288, allocations: 101.6 kB / 0.8399 GB, free: 75.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.5288, allocations: 6.469 kB / 0.8399 GB, free: 75.88 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.5288, allocations: 24.3 kB / 0.8399 GB, free: 75.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.5288, allocations: 10.28 kB / 0.8399 GB, free: 75.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.5288, allocations: 10.39 kB / 0.8399 GB, free: 75.88 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.531, allocations: 1.41 MB / 0.8413 GB, free: 75.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.5313, allocations: 266 kB / 0.8416 GB, free: 75.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.179e-05/0.5314, allocations: 16.42 kB / 0.8416 GB, free: 75.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.5319, allocations: 56.02 kB / 0.8416 GB, free: 75.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.532, allocations: 68.64 kB / 0.8417 GB, free: 75.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.5321, allocations: 35.98 kB / 0.8417 GB, free: 75.38 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005646/0.5326, allocations: 0.4894 MB / 0.8422 GB, free: 75.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.5326, allocations: 4.688 kB / 0.8422 GB, free: 75.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008789/0.5335, allocations: 335.2 kB / 0.8425 GB, free: 75.12 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.002963/0.5365, allocations: 2.259 MB / 0.8447 GB, free: 73.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.5379, allocations: 0.7515 MB / 0.8455 GB, free: 73.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5379, allocations: 1.062 kB / 0.8455 GB, free: 73.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.5388, allocations: 436.2 kB / 0.8459 GB, free: 73.45 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5404, allocations: 374.3 kB / 0.8463 GB, free: 73.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008838/0.5492, allocations: 6.605 MB / 0.8527 GB, free: 69.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.5496, allocations: 1.021 MB / 0.8537 GB, free: 68.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005521/0.5502, allocations: 164.2 kB / 0.8539 GB, free: 68.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.5506, allocations: 360.8 kB / 0.8542 GB, free: 68.69 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/0.5506, allocations: 0 / 0.8542 GB, free: 68.69 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05149/0.602, allocations: 27.18 MB / 0.8807 GB, free: 55.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.928/9.53, allocations: 0 / 0.8807 GB, free: 55.12 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap_fmu --startTime=0 --stopTime=259200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.918019120013923]