Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001292/0.001292, allocations: 108.4 kB / 16.45 MB, free: 6.5 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.001419/0.001419, allocations: 216 kB / 19.43 MB, free: 3.656 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.369/1.369, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002356/0.002356, allocations: 285.3 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.147/1.147, allocations: 180.9 MB / 0.5333 GB, free: 13.91 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.002735/0.002735, allocations: 103.1 kB / 0.7342 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1754, allocations: 95.34 MB / 0.8273 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5767/0.7522, allocations: 174.5 MB / 0.9978 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00711/0.7593, allocations: 4.314 MB / 1.002 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.7603, allocations: 35.44 kB / 1.002 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.7616, allocations: 371.3 kB / 1.002 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.7653, allocations: 1.262 MB / 1.004 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.7674, allocations: 0.7996 MB / 1.004 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.77, allocations: 1.697 MB / 1.006 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007004/0.7707, allocations: 482.2 kB / 1.006 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.7719, allocations: 0.7234 MB / 1.007 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.773, allocations: 0.5944 MB / 1.008 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.7731, allocations: 65.5 kB / 1.008 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.7746, allocations: 0.8499 MB / 1.009 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.7749, allocations: 281 kB / 1.009 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.7753, allocations: 411.8 kB / 1.009 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.7768, allocations: 1.262 MB / 1.011 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7769, allocations: 0 / 1.011 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7769, allocations: 0.8125 kB / 1.011 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.7769, allocations: 0 / 1.011 GB, free: 2.941 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001841/0.7787, allocations: 1.057 MB / 1.012 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.7787, allocations: 9.906 kB / 1.012 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.7789, allocations: 98.78 kB / 1.012 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009485/0.7798, allocations: 167.4 kB / 1.012 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007494/0.7806, allocations: 0.5466 MB / 1.012 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.7806, allocations: 40.69 kB / 1.012 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.7807, allocations: 53.45 kB / 1.012 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00095/0.7816, allocations: 0.6475 MB / 1.013 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.7816, allocations: 4.031 kB / 1.013 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.7817, allocations: 22.78 kB / 1.013 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.7817, allocations: 24.89 kB / 1.013 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007741/0.7825, allocations: 0.5109 MB / 1.014 GB, free: 17.89 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.002836/0.7853, allocations: 2.303 MB / 1.016 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.7858, allocations: 238.5 kB / 1.016 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.786, allocations: 130.4 kB / 1.016 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.786, allocations: 1.781 kB / 1.016 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7861, allocations: 44.25 kB / 1.016 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.7861, allocations: 0 / 1.016 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001535/0.7876, allocations: 0.6724 MB / 1.017 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.7877, allocations: 82.44 kB / 1.017 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.7882, allocations: 0.5561 MB / 1.018 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.7883, allocations: 32.92 kB / 1.018 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.7884, allocations: 347.9 kB / 1.018 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.7885, allocations: 69.45 kB / 1.018 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.7886, allocations: 72.22 kB / 1.018 GB, free: 16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7887, allocations: 362.8 kB / 1.018 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.789, allocations: 129.2 kB / 1.019 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.7892, allocations: 221 kB / 1.019 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.7897, allocations: 341.4 kB / 1.019 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7897, allocations: 1.031 kB / 1.019 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007664/0.7904, allocations: 498.1 kB / 1.02 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7904, allocations: 5.844 kB / 1.02 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7905, allocations: 5.219 kB / 1.02 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.7907, allocations: 97.67 kB / 1.02 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.791, allocations: 69.62 kB / 1.02 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.7938, allocations: 3.338 MB / 1.023 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.7942, allocations: 55.72 kB / 1.023 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.7943, allocations: 13.84 kB / 1.023 GB, free: 12.68 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002443/0.7945, allocations: 223.1 kB / 1.023 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.7946, allocations: 57.02 kB / 1.023 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/0.7947, allocations: 52 kB / 1.023 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7947, allocations: 3.594 kB / 1.023 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.7947, allocations: 0.9375 kB / 1.023 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006619/0.7953, allocations: 0.5403 MB / 1.024 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.7964, allocations: 0.9086 MB / 1.025 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7964, allocations: 1.031 kB / 1.025 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.7966, allocations: 41.64 kB / 1.025 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.7968, allocations: 68.67 kB / 1.025 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.7968, allocations: 0 / 1.025 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.7983, allocations: 1.831 MB / 1.027 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7983, allocations: 0 / 1.027 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.7989, allocations: 438.3 kB / 1.027 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.7991, allocations: 172.5 kB / 1.027 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.7991, allocations: 5 kB / 1.027 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.7995, allocations: 28.56 kB / 1.027 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.7996, allocations: 18.16 kB / 1.027 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.7997, allocations: 17 kB / 1.027 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003764/0.8, allocations: 402.3 kB / 1.028 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005905/0.8006, allocations: 202.5 kB / 1.028 GB, free: 10.04 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009662/0.8016, allocations: 1.025 MB / 1.029 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007779/0.8024, allocations: 0.5232 MB / 1.029 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8024, allocations: 4.062 kB / 1.029 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.8027, allocations: 249 kB / 1.03 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.8042, allocations: 371.2 kB / 1.03 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.8093, allocations: 4.466 MB / 1.034 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.8098, allocations: 0.9106 MB / 1.035 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004084/0.8102, allocations: 120.6 kB / 1.035 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.8104, allocations: 193.3 kB / 1.036 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.8104, allocations: 0 / 1.036 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04791/0.8583, allocations: 17.9 MB / 1.053 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.7, allocations: 14.02 kB / 1.053 GB, free: 1.297 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_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_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.690821649041027] Failed to read output from testmodel.py, exit status != 0: 12.79570986283943 12.808151248 12.028449566 Calling exit ...