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.001356/0.001356, allocations: 111 kB / 16.46 MB, free: 6.504 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.001346/0.001346, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.365/1.365, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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 1.021/1.021, allocations: 175.8 MB / 478.4 MB, free: 8.484 MB / 382.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.001924/0.001924, allocations: 67.11 kB / 0.6652 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1702, allocations: 94.55 MB / 0.7575 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.3813/0.5515, allocations: 43.71 MB / 0.8002 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.5638, allocations: 7.326 MB / 0.8074 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.5656, allocations: 42.69 kB / 0.8074 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.5675, allocations: 498.8 kB / 0.8079 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00505/0.5725, allocations: 1.499 MB / 0.8093 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.5758, allocations: 1.051 MB / 0.8104 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004493/0.5803, allocations: 2.504 MB / 0.8128 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.5822, allocations: 0.7267 MB / 0.8135 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004068/0.5863, allocations: 1.406 MB / 0.8149 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.5879, allocations: 0.7116 MB / 0.8156 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003528/0.5883, allocations: 82.5 kB / 0.8157 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.5909, allocations: 0.8418 MB / 0.8165 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000474/0.5914, allocations: 230.3 kB / 0.8167 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.5926, allocations: 0.5126 MB / 0.8172 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.5961, allocations: 1.554 MB / 0.8187 GB, free: 384 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5961, allocations: 1.031 kB / 0.8187 GB, free: 384 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5961, allocations: 0 / 0.8187 GB, free: 384 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.346e-05/0.5961, allocations: 0 / 0.8187 GB, free: 384 kB / 0.6075 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.002951/0.5991, allocations: 1.398 MB / 0.8201 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5991, allocations: 9.031 kB / 0.8201 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.5993, allocations: 114 kB / 0.8202 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.5996, allocations: 118.5 kB / 0.8203 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.6012, allocations: 0.7677 MB / 0.8211 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.6012, allocations: 56.38 kB / 0.8211 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.6014, allocations: 69.53 kB / 0.8212 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.603, allocations: 0.8352 MB / 0.822 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.603, allocations: 9 kB / 0.822 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.6031, allocations: 30.67 kB / 0.822 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.6031, allocations: 17.84 kB / 0.8221 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.6045, allocations: 0.5909 MB / 0.8226 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.6092, allocations: 3.976 MB / 0.8265 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.6103, allocations: 362.5 kB / 0.8269 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.6108, allocations: 224.9 kB / 0.8271 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.6119, allocations: 1.307 MB / 0.8284 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007241/0.6127, allocations: 304.3 kB / 0.8286 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.244e-06/0.6127, allocations: 0 / 0.8286 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001883/0.6146, allocations: 0.7034 MB / 0.8293 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.6146, allocations: 59.77 kB / 0.8294 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.6156, allocations: 0.7223 MB / 0.8301 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.6157, allocations: 35.17 kB / 0.8301 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.6162, allocations: 470.2 kB / 0.8306 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.6163, allocations: 132 kB / 0.8307 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.6165, allocations: 139.7 kB / 0.8308 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6167, allocations: 327.3 kB / 0.8311 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.6172, allocations: 214.1 kB / 0.8314 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.618, allocations: 427.4 kB / 0.8318 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.6192, allocations: 0.6513 MB / 0.8324 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.6192, allocations: 5 kB / 0.8324 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001739/0.6209, allocations: 0.7662 MB / 0.8331 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/0.621, allocations: 72.67 kB / 0.8332 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.621, allocations: 10.31 kB / 0.8332 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.621, allocations: 8.188 kB / 0.8332 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.6215, allocations: 131.5 kB / 0.8334 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.6215, allocations: 16.97 kB / 0.8334 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/0.6223, allocations: 104.6 kB / 0.8335 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.6224, allocations: 46.91 kB / 0.8335 GB, free: 4.438 MB / 0.6231 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.0004357/0.6228, allocations: 244.2 kB / 0.8338 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.6231, allocations: 88.55 kB / 0.8338 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.6254, allocations: 1.108 MB / 0.8349 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.6254, allocations: 15.02 kB / 0.8349 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6254, allocations: 1.156 kB / 0.8349 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6254, allocations: 7.984 kB / 0.8349 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.6288, allocations: 1.919 MB / 0.8368 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.6289, allocations: 2.594 kB / 0.8368 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.6292, allocations: 105.3 kB / 0.8369 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.6292, allocations: 9.688 kB / 0.8369 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.6293, allocations: 20.14 kB / 0.837 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.6293, allocations: 9.656 kB / 0.837 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.6293, allocations: 7.312 kB / 0.837 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.632, allocations: 1.404 MB / 0.8383 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.6325, allocations: 263.9 kB / 0.8386 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.6327, allocations: 18.48 kB / 0.8386 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.6332, allocations: 51.97 kB / 0.8387 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.6334, allocations: 78.17 kB / 0.8387 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.6335, allocations: 28.7 kB / 0.8388 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007202/0.6342, allocations: 0.4928 MB / 0.8392 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6342, allocations: 0 / 0.8392 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001245/0.6354, allocations: 328.7 kB / 0.8396 GB, free: 0.6719 MB / 0.6231 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.003843/0.6393, allocations: 2.273 MB / 0.8418 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.6409, allocations: 0.7472 MB / 0.8425 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6409, allocations: 2.938 kB / 0.8425 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009365/0.6419, allocations: 435.4 kB / 0.8429 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.6439, allocations: 365.5 kB / 0.8433 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.6555, allocations: 6.63 MB / 0.8497 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.6563, allocations: 1.022 MB / 0.8507 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006423/0.6569, allocations: 166.5 kB / 0.8509 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/0.6574, allocations: 355.3 kB / 0.8512 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/0.6574, allocations: 0 / 0.8512 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06567/0.7231, allocations: 27.08 MB / 0.8777 GB, free: 12.11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.711/10.43, allocations: 8.75 kB / 0.8777 GB, free: 12.11 MB / 0.67 GB " [Timeout remaining time 649] (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 --stepSize=103.68 --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: 14.099902482703328] Failed to read output from testmodel.py, exit status != 0: 10.51846989709884 10.54128902 9.940668804 Calling exit ...