Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001252/0.001252, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001383/0.001383, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002424/0.002424, allocations: 279.1 kB / 312.7 MB, free: 2.586 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.176/1.176, allocations: 180.6 MB / 0.5369 GB, free: 14.6 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002791/0.002791, allocations: 101.8 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1658, allocations: 95.39 MB / 0.8326 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1778/0.3436, allocations: 150.8 MB / 0.9799 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3906/0.7342, allocations: 4.017 MB / 0.9839 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006223/0.7349, allocations: 29.16 kB / 0.9839 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000954/0.7358, allocations: 332.1 kB / 0.9842 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.7381, allocations: 1.043 MB / 0.9852 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.7401, allocations: 0.8338 MB / 0.986 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.7416, allocations: 1.306 MB / 0.9873 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005668/0.7422, allocations: 372 kB / 0.9877 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.7434, allocations: 0.7148 MB / 0.9884 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.7444, allocations: 461.8 kB / 0.9888 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.7445, allocations: 52.25 kB / 0.9889 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.7457, allocations: 0.76 MB / 0.9896 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.746, allocations: 215.6 kB / 0.9898 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.7462, allocations: 275.2 kB / 0.9901 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.7476, allocations: 1.125 MB / 0.9912 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7476, allocations: 0 / 0.9912 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7476, allocations: 2.688 kB / 0.9912 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.7476, allocations: 1.031 kB / 0.9912 GB, free: 3.508 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001587/0.7492, allocations: 0.8901 MB / 0.992 GB, free: 19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.7492, allocations: 10.84 kB / 0.992 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.022e-05/0.7493, allocations: 84.81 kB / 0.9921 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.7508, allocations: 269.1 kB / 0.9924 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.7516, allocations: 435 kB / 0.9928 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.7516, allocations: 37.08 kB / 0.9928 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.7517, allocations: 37.69 kB / 0.9929 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.753, allocations: 0.8891 MB / 0.9937 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.753, allocations: 5.344 kB / 0.9937 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/0.7531, allocations: 19.83 kB / 0.9938 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.7531, allocations: 24.25 kB / 0.9938 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.7545, allocations: 0.5414 MB / 0.9943 GB, free: 18.31 MB / 0.7325 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.003628/0.7581, allocations: 1.89 MB / 0.9962 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008924/0.759, allocations: 275.3 kB / 0.9964 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.7595, allocations: 169 kB / 0.9966 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.7595, allocations: 1.656 kB / 0.9966 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.7596, allocations: 40.59 kB / 0.9966 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 2.244e-06/0.7596, allocations: 3.594 kB / 0.9966 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005078/0.7647, allocations: 1.014 MB / 0.9976 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.7647, allocations: 80.02 kB / 0.9977 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008198/0.7655, allocations: 0.5629 MB / 0.9982 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.7656, allocations: 31.55 kB / 0.9983 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.7658, allocations: 301.8 kB / 0.9986 GB, free: 17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.7658, allocations: 44.14 kB / 0.9986 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.7659, allocations: 60.23 kB / 0.9987 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.7661, allocations: 357.4 kB / 0.999 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.7667, allocations: 194.8 kB / 0.9992 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006665/0.7674, allocations: 293.3 kB / 0.9995 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.7685, allocations: 406.2 kB / 0.9999 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7685, allocations: 1.906 kB / 0.9999 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002435/0.771, allocations: 0.732 MB / 1.001 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.771, allocations: 6 kB / 1.001 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.771, allocations: 3.062 kB / 1.001 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.7716, allocations: 185.3 kB / 1.001 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.7719, allocations: 78.8 kB / 1.001 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.7756, allocations: 2.101 MB / 1.003 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.7761, allocations: 73.52 kB / 1.003 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.7762, allocations: 9.625 kB / 1.003 GB, free: 15.11 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.7764, allocations: 193.5 kB / 1.003 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.7765, allocations: 53.61 kB / 1.003 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.941e-05/0.7766, allocations: 54.61 kB / 1.003 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7766, allocations: 2.25 kB / 1.003 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.7766, allocations: 0 / 1.003 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7766, allocations: 5.312 kB / 1.003 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.7794, allocations: 1.041 MB / 1.004 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.7794, allocations: 5.406 kB / 1.004 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.7796, allocations: 37.19 kB / 1.004 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/0.7801, allocations: 189.2 kB / 1.004 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.7801, allocations: 2.375 kB / 1.005 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/0.7834, allocations: 2.053 MB / 1.007 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7834, allocations: 6.484 kB / 1.007 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.7857, allocations: 0.7058 MB / 1.007 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.786, allocations: 93.62 kB / 1.007 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.7861, allocations: 5.625 kB / 1.007 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/0.7866, allocations: 49.19 kB / 1.007 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.7867, allocations: 17.88 kB / 1.007 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.7867, allocations: 19.38 kB / 1.007 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000429/0.7871, allocations: 395.5 kB / 1.008 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7871, allocations: 0 / 1.008 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005932/0.7877, allocations: 181.6 kB / 1.008 GB, free: 13.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002691/0.7904, allocations: 1.295 MB / 1.009 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.7918, allocations: 0.5231 MB / 1.01 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.7918, allocations: 0.9375 kB / 1.01 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.7925, allocations: 293.6 kB / 1.01 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.7938, allocations: 319.2 kB / 1.01 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009771/0.8035, allocations: 5.075 MB / 1.015 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.8037, allocations: 256.5 kB / 1.015 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003639/0.8041, allocations: 111 kB / 1.016 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.8043, allocations: 162 kB / 1.016 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.8043, allocations: 2.656 kB / 1.016 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05022/0.8545, allocations: 18.31 MB / 1.034 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.37, allocations: 11 kB / 1.034 GB, free: 6.754 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.405061493162066] Failed to read output from testmodel.py, exit status != 0: 13.492686825804412 13.51558832 12.764261833 Calling exit ...