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.001699/0.001699, allocations: 110.2 kB / 17.96 MB, free: 3.918 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.001941/0.001941, allocations: 192.4 kB / 21.22 MB, free: 0.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.354/1.354, allocations: 225.6 MB / 249.9 MB, free: 13.38 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.043/1.043, allocations: 175.7 MB / 480.8 MB, free: 7.848 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.001919/0.001919, allocations: 64.5 kB / 0.6688 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1852, allocations: 94.53 MB / 0.7611 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.4082/0.5935, allocations: 44.15 MB / 0.8042 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.6058, allocations: 7.338 MB / 0.8114 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.6079, allocations: 43.78 kB / 0.8114 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.6095, allocations: 0.4893 MB / 0.8119 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.6145, allocations: 1.496 MB / 0.8133 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.6178, allocations: 1.079 MB / 0.8144 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004541/0.6223, allocations: 2.503 MB / 0.8168 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.6238, allocations: 0.696 MB / 0.8175 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.6276, allocations: 1.425 MB / 0.8189 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.6291, allocations: 0.7047 MB / 0.8196 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.6293, allocations: 82 kB / 0.8197 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.632, allocations: 0.8425 MB / 0.8205 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.6323, allocations: 237.6 kB / 0.8207 GB, free: 264 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007376/0.633, allocations: 0.5041 MB / 0.8212 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.636, allocations: 1.559 MB / 0.8227 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.636, allocations: 4 kB / 0.8227 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.355e-06/0.636, allocations: 1.438 kB / 0.8227 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.636, allocations: 0 / 0.8227 GB, free: 14.9 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.002389/0.6384, allocations: 1.384 MB / 0.8241 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6384, allocations: 9.812 kB / 0.8241 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.6386, allocations: 121.4 kB / 0.8242 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.6388, allocations: 117.9 kB / 0.8243 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.6401, allocations: 0.7639 MB / 0.8251 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.6402, allocations: 56.5 kB / 0.8251 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6403, allocations: 68.84 kB / 0.8252 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.6418, allocations: 0.8401 MB / 0.826 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.6418, allocations: 1.953 kB / 0.826 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.6419, allocations: 27.84 kB / 0.8261 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.6419, allocations: 17.66 kB / 0.8261 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.6433, allocations: 0.5903 MB / 0.8266 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/0.6478, allocations: 3.976 MB / 0.8305 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.6489, allocations: 363.3 kB / 0.8309 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.6495, allocations: 219.8 kB / 0.8311 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.6506, allocations: 1.315 MB / 0.8324 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007563/0.6514, allocations: 300.5 kB / 0.8327 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 6.452e-06/0.6514, allocations: 3.984 kB / 0.8327 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001944/0.6533, allocations: 0.703 MB / 0.8333 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.6534, allocations: 56.97 kB / 0.8334 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.6543, allocations: 0.7186 MB / 0.8341 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.6544, allocations: 42.92 kB / 0.8341 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.6548, allocations: 465.9 kB / 0.8346 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.6549, allocations: 136.7 kB / 0.8347 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.6552, allocations: 135.5 kB / 0.8348 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.6553, allocations: 327.2 kB / 0.8352 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.6559, allocations: 212.8 kB / 0.8354 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/0.6566, allocations: 424.6 kB / 0.8358 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.6579, allocations: 0.6584 MB / 0.8364 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.6579, allocations: 2.188 kB / 0.8364 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001703/0.6596, allocations: 0.771 MB / 0.8372 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.776e-05/0.6596, allocations: 75.92 kB / 0.8372 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6597, allocations: 5.688 kB / 0.8372 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.6597, allocations: 8.812 kB / 0.8373 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.6602, allocations: 135.7 kB / 0.8374 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.6602, allocations: 13.2 kB / 0.8374 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007651/0.6609, allocations: 108.8 kB / 0.8375 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.661, allocations: 39.33 kB / 0.8375 GB, free: 2.965 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.0003962/0.6614, allocations: 240.5 kB / 0.8378 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.6616, allocations: 96.23 kB / 0.8379 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.6638, allocations: 1.105 MB / 0.8389 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.6639, allocations: 15.95 kB / 0.839 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6639, allocations: 5.125 kB / 0.839 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.6639, allocations: 3.984 kB / 0.839 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.6671, allocations: 1.914 MB / 0.8408 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.6671, allocations: 3.375 kB / 0.8408 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.6675, allocations: 106.3 kB / 0.8409 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.6675, allocations: 4.719 kB / 0.8409 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.6675, allocations: 21.7 kB / 0.841 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.6675, allocations: 9.406 kB / 0.841 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6675, allocations: 3.281 kB / 0.841 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.6701, allocations: 1.408 MB / 0.8423 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.6706, allocations: 262.2 kB / 0.8426 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/0.6707, allocations: 15.81 kB / 0.8426 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.6711, allocations: 55.75 kB / 0.8427 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.6713, allocations: 78.84 kB / 0.8427 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.6713, allocations: 28.61 kB / 0.8428 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006798/0.672, allocations: 0.4888 MB / 0.8432 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.672, allocations: 0 / 0.8432 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001181/0.6732, allocations: 332.7 kB / 0.8436 GB, free: 15.18 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.003567/0.6768, allocations: 2.275 MB / 0.8458 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.6784, allocations: 0.7477 MB / 0.8465 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6784, allocations: 5.25 kB / 0.8465 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.6793, allocations: 431.1 kB / 0.8469 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.6811, allocations: 374.2 kB / 0.8473 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.6914, allocations: 6.625 MB / 0.8538 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.692, allocations: 1.018 MB / 0.8547 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00059/0.6926, allocations: 162.5 kB / 0.8549 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.6931, allocations: 359.2 kB / 0.8552 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.6931, allocations: 0 / 0.8552 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06223/0.7553, allocations: 27.15 MB / 0.8818 GB, free: 10.08 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.865/10.62, allocations: 7.984 kB / 0.8818 GB, free: 10.07 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap_res.csv --start-time 0 --stop-time 259200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 103.68 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.36955288099125] Failed to read output from testmodel.py, exit status != 0: 10.705361133092083 10.728740157 10.088123247 Calling exit ...