Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.Tap.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.001091/0.001091, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 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.001465/0.001465, allocations: 216.5 kB / 22.25 MB, free: 3.727 MB / 13.93 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.941/0.941, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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-531:686: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-531:694: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.7608/0.7608, allocations: 203.5 MB / 0.5039 GB, free: 10.67 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008735/0.0008735, allocations: 70.41 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.469, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.0276/0.4966, allocations: 40.21 MB / 0.8566 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007415/0.504, allocations: 6.842 MB / 0.8633 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.5046, allocations: 59.28 kB / 0.8634 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.5058, allocations: 0.4967 MB / 0.8639 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.5079, allocations: 1.473 MB / 0.8653 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.5095, allocations: 1.118 MB / 0.8664 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.5114, allocations: 2.557 MB / 0.8689 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.5121, allocations: 0.7017 MB / 0.8696 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.5141, allocations: 1.473 MB / 0.871 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.5147, allocations: 0.6629 MB / 0.8717 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.607e-05/0.5148, allocations: 82.38 kB / 0.8717 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.5158, allocations: 0.6462 MB / 0.8724 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.5159, allocations: 241.4 kB / 0.8726 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.5163, allocations: 420 kB / 0.873 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.5179, allocations: 1.526 MB / 0.8745 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5179, allocations: 0 / 0.8745 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5179, allocations: 4 kB / 0.8745 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.5179, allocations: 0 / 0.8745 GB, free: 8.188 MB / 0.6511 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.001468/0.5194, allocations: 1.313 MB / 0.8758 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5194, allocations: 9 kB / 0.8758 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.871e-05/0.5195, allocations: 114.1 kB / 0.8759 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.5197, allocations: 121.4 kB / 0.876 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.5205, allocations: 0.6934 MB / 0.8767 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.5206, allocations: 60.88 kB / 0.8767 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.5207, allocations: 67.38 kB / 0.8768 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009734/0.5216, allocations: 0.9347 MB / 0.8777 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5216, allocations: 1.156 kB / 0.8777 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.5217, allocations: 28 kB / 0.8777 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.5217, allocations: 25.3 kB / 0.8778 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008118/0.5225, allocations: 0.5898 MB / 0.8783 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.5249, allocations: 3.201 MB / 0.8815 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.5255, allocations: 366.2 kB / 0.8818 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.5258, allocations: 220.5 kB / 0.882 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.526, allocations: 112 kB / 0.8821 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004642/0.5265, allocations: 406.5 kB / 0.8825 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 1.723e-06/0.5265, allocations: 0 / 0.8825 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.001115/0.5276, allocations: 0.7029 MB / 0.8832 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.5277, allocations: 59.94 kB / 0.8833 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.5283, allocations: 0.7319 MB / 0.884 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.5283, allocations: 39.73 kB / 0.884 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/0.5288, allocations: 461.9 kB / 0.8845 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.5289, allocations: 128.1 kB / 0.8846 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.529, allocations: 144.3 kB / 0.8847 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.5291, allocations: 327.3 kB / 0.885 GB, free: 184 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.5294, allocations: 269.2 kB / 0.8853 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.5299, allocations: 0.7738 MB / 0.8861 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/0.5306, allocations: 0.6586 MB / 0.8867 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5306, allocations: 4 kB / 0.8867 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008995/0.5315, allocations: 0.8366 MB / 0.8875 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.5315, allocations: 71.39 kB / 0.8876 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5315, allocations: 4 kB / 0.8876 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5315, allocations: 8 kB / 0.8876 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.5318, allocations: 135.7 kB / 0.8877 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.5318, allocations: 12.41 kB / 0.8877 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.5321, allocations: 111.5 kB / 0.8878 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.5321, allocations: 39.97 kB / 0.8879 GB, free: 13.02 MB / 0.6667 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.0002049/0.5324, allocations: 241.6 kB / 0.8881 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.5324, allocations: 91.44 kB / 0.8882 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.5336, allocations: 1.132 MB / 0.8893 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.5337, allocations: 15.92 kB / 0.8893 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5337, allocations: 0 / 0.8893 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5337, allocations: 7.984 kB / 0.8893 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.5354, allocations: 1.85 MB / 0.8911 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5354, allocations: 4 kB / 0.8911 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.5356, allocations: 95.88 kB / 0.8912 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.5356, allocations: 4.375 kB / 0.8912 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/0.5358, allocations: 27.98 kB / 0.8913 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.5358, allocations: 11.92 kB / 0.8913 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5358, allocations: 4 kB / 0.8913 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.5372, allocations: 1.443 MB / 0.8927 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.5374, allocations: 183 kB / 0.8929 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.5375, allocations: 20 kB / 0.8929 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.5377, allocations: 56 kB / 0.8929 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.5378, allocations: 80.25 kB / 0.893 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.5378, allocations: 27.98 kB / 0.893 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003589/0.5382, allocations: 499 kB / 0.8935 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.5382, allocations: 0 / 0.8935 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006038/0.5388, allocations: 347.1 kB / 0.8938 GB, free: 6.762 MB / 0.6667 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.002152/0.5409, allocations: 2.293 MB / 0.8961 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008399/0.5418, allocations: 0.8136 MB / 0.8969 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5418, allocations: 4.062 kB / 0.8969 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.5423, allocations: 434.7 kB / 0.8973 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009187/0.5432, allocations: 376.3 kB / 0.8976 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005984/0.5492, allocations: 6.843 MB / 0.9043 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.5494, allocations: 433.7 kB / 0.9047 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003146/0.5498, allocations: 162.5 kB / 0.9049 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.5503, allocations: 351.3 kB / 0.9052 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/0.5503, allocations: 0 / 0.9052 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.5868, allocations: 29.09 MB / 0.9336 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.364/7.951, allocations: 7.938 kB / 0.9336 GB, free: 13.91 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.Tap.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Taps_Examples_Tap.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.918837938923389] Failed to read output from testmodel.py, exit status != 0: 8.042118044104427 8.052097757 7.532244056 Calling exit ...