Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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.000802/0.000802, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009013/0.0009013, allocations: 221.7 kB / 22.26 MB, free: 3.695 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.9571/0.9571, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8059/0.8059, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",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.001528/0.001528, allocations: 65.12 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.4964, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03856/0.535, allocations: 43.03 MB / 0.8599 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.5492, allocations: 11.19 MB / 0.8708 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.5513, allocations: 68.25 kB / 0.8709 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.553, allocations: 0.571 MB / 0.8714 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003806/0.5568, allocations: 1.499 MB / 0.8729 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.5596, allocations: 1.36 MB / 0.8742 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004785/0.5644, allocations: 2.726 MB / 0.8769 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.566, allocations: 0.8455 MB / 0.8777 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.5697, allocations: 1.271 MB / 0.879 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.5715, allocations: 0.8412 MB / 0.8798 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.5718, allocations: 111.3 kB / 0.8799 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.5739, allocations: 0.808 MB / 0.8807 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.5742, allocations: 285.2 kB / 0.8809 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008625/0.575, allocations: 0.6153 MB / 0.8815 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.578, allocations: 1.951 MB / 0.8834 GB, free: 184 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.578, allocations: 3.938 kB / 0.8834 GB, free: 180 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/0.578, allocations: 0 / 0.8834 GB, free: 180 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.454e-05/0.5781, allocations: 0 / 0.8834 GB, free: 180 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002656/0.5808, allocations: 1.496 MB / 0.8849 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5808, allocations: 10.09 kB / 0.8849 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.5809, allocations: 137.6 kB / 0.8851 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.582, allocations: 330.2 kB / 0.8854 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.5835, allocations: 0.8943 MB / 0.8862 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.5835, allocations: 58.22 kB / 0.8863 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.5836, allocations: 83.81 kB / 0.8864 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.5851, allocations: 1.007 MB / 0.8874 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5852, allocations: 5.406 kB / 0.8874 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.5852, allocations: 36.83 kB / 0.8874 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.5852, allocations: 23.81 kB / 0.8874 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.5867, allocations: 0.8191 MB / 0.8882 GB, free: 12.88 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/0.5911, allocations: 3.992 MB / 0.8921 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.5922, allocations: 0.5802 MB / 0.8927 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.5927, allocations: 293.4 kB / 0.893 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003686/0.5931, allocations: 128.2 kB / 0.8931 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006785/0.5938, allocations: 427.2 kB / 0.8935 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 3.136e-06/0.5938, allocations: 4 kB / 0.8935 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.002014/0.5958, allocations: 0.9728 MB / 0.8944 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.5958, allocations: 110.8 kB / 0.8946 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.597, allocations: 0.891 MB / 0.8954 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.582e-05/0.5971, allocations: 41.7 kB / 0.8955 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.5974, allocations: 0.4886 MB / 0.8959 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5976, allocations: 174.6 kB / 0.8961 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.5978, allocations: 134.2 kB / 0.8962 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.5979, allocations: 334 kB / 0.8966 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.5984, allocations: 297.1 kB / 0.8968 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.599, allocations: 492.1 kB / 0.8973 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.6001, allocations: 0.778 MB / 0.8981 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.6001, allocations: 8 kB / 0.8981 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0017/0.6018, allocations: 0.9189 MB / 0.899 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.6019, allocations: 44.19 kB / 0.899 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6019, allocations: 11.94 kB / 0.899 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.6019, allocations: 11.94 kB / 0.899 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.6025, allocations: 199.6 kB / 0.8992 GB, free: 2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.6025, allocations: 11.94 kB / 0.8992 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.6033, allocations: 123.3 kB / 0.8994 GB, free: 1.867 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.6034, allocations: 39.97 kB / 0.8994 GB, free: 1.828 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0004899/0.6039, allocations: 269.6 kB / 0.8997 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.6041, allocations: 103.3 kB / 0.8998 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.6058, allocations: 1.09 MB / 0.9008 GB, free: 380 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.6058, allocations: 11.98 kB / 0.9008 GB, free: 368 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6058, allocations: 48 / 0.9008 GB, free: 368 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.6058, allocations: 11.97 kB / 0.9008 GB, free: 356 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.6089, allocations: 2.146 MB / 0.9029 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.609, allocations: 0 / 0.9029 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.6094, allocations: 155.9 kB / 0.9031 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.6095, allocations: 4 kB / 0.9031 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/0.6095, allocations: 19.98 kB / 0.9031 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.6095, allocations: 7.938 kB / 0.9031 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6095, allocations: 0 / 0.9031 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.6116, allocations: 1.486 MB / 0.9046 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/0.6121, allocations: 207.1 kB / 0.9048 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.6122, allocations: 15.95 kB / 0.9048 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.6126, allocations: 67.91 kB / 0.9048 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.6127, allocations: 56.22 kB / 0.9049 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.6127, allocations: 31.92 kB / 0.9049 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000696/0.6134, allocations: 0.6382 MB / 0.9055 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6134, allocations: 0 / 0.9055 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001189/0.6146, allocations: 375.1 kB / 0.9059 GB, free: 11.03 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.003675/0.6183, allocations: 2.626 MB / 0.9085 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.6197, allocations: 0.7873 MB / 0.9092 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6197, allocations: 0 / 0.9092 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.6204, allocations: 390.5 kB / 0.9096 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.6219, allocations: 493.3 kB / 0.9101 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.635, allocations: 8.409 MB / 0.9183 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.6354, allocations: 1.041 MB / 0.9193 GB, free: 13.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008279/0.6362, allocations: 211.9 kB / 0.9195 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/0.6367, allocations: 419.3 kB / 0.9199 GB, free: 12.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.694e-06/0.6367, allocations: 0 / 0.9199 GB, free: 12.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05267/0.6894, allocations: 31.3 MB / 0.9505 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/9.106, allocations: 3.125 kB / 0.9505 GB, free: 13.37 MB / 0.7292 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.14296851400286] Failed to read output from testmodel.py, exit status != 0: 9.221960217924789 9.231717989 8.651673622 Calling exit ...