Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001414/0.001414, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001544/0.001544, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.941/2.941, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001817/0.001817, allocations: 62.14 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2845, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1791/0.4636, allocations: 174.8 MB / 1.516 GB, free: 1.031 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006255/0.4699, allocations: 4.342 MB / 1.52 GB, free: 12.68 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/0.4705, allocations: 31.75 kB / 1.52 GB, free: 12.65 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009343/0.4715, allocations: 369.9 kB / 1.521 GB, free: 12.29 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.4742, allocations: 1.287 MB / 1.522 GB, free: 10.99 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.4762, allocations: 0.8317 MB / 1.523 GB, free: 10.16 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002162/0.4783, allocations: 1.728 MB / 1.524 GB, free: 8.43 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006669/0.479, allocations: 452.3 kB / 1.525 GB, free: 7.992 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.4804, allocations: 0.7862 MB / 1.526 GB, free: 7.203 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.4818, allocations: 0.5746 MB / 1.526 GB, free: 6.629 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.4819, allocations: 68 kB / 1.526 GB, free: 6.562 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.4834, allocations: 0.8574 MB / 1.527 GB, free: 5.703 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.4837, allocations: 283.1 kB / 1.527 GB, free: 5.426 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.4842, allocations: 410.2 kB / 1.528 GB, free: 5.023 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.4859, allocations: 1.269 MB / 1.529 GB, free: 3.75 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4859, allocations: 0 / 1.529 GB, free: 3.75 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4859, allocations: 0 / 1.529 GB, free: 3.75 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4859, allocations: 0 / 1.529 GB, free: 3.75 MB / 1.217 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.001753/0.4877, allocations: 0.9718 MB / 1.53 GB, free: 2.742 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4877, allocations: 12.03 kB / 1.53 GB, free: 2.73 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.069e-05/0.4877, allocations: 13.31 kB / 1.53 GB, free: 2.719 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.4878, allocations: 110.4 kB / 1.53 GB, free: 2.602 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000936/0.4888, allocations: 167.4 kB / 1.53 GB, free: 2.438 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.4896, allocations: 494.7 kB / 1.531 GB, free: 1.926 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.4897, allocations: 41.31 kB / 1.531 GB, free: 1.883 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.23e-05/0.4898, allocations: 51.94 kB / 1.531 GB, free: 1.832 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4908, allocations: 0.6518 MB / 1.531 GB, free: 1.164 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4909, allocations: 3.984 kB / 1.531 GB, free: 1.16 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.4909, allocations: 24 kB / 1.531 GB, free: 1.137 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.4909, allocations: 25.3 kB / 1.531 GB, free: 1.113 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/0.4919, allocations: 0.5087 MB / 1.532 GB, free: 0.6055 MB / 1.217 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.003282/0.4952, allocations: 2.25 MB / 1.534 GB, free: 14.19 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.4957, allocations: 252.1 kB / 1.534 GB, free: 13.94 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.4959, allocations: 132.7 kB / 1.534 GB, free: 13.8 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.4959, allocations: 0 / 1.534 GB, free: 13.8 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.496, allocations: 42.5 kB / 1.535 GB, free: 13.75 MB / 1.232 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.496, allocations: 4 kB / 1.535 GB, free: 13.75 MB / 1.232 GB Notification: Performance of matching and sorting (n=20): time 0.001528/0.4975, allocations: 0.5158 MB / 1.535 GB, free: 13.22 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.4975, allocations: 81.11 kB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/0.4982, allocations: 0.5575 MB / 1.536 GB, free: 12.55 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.4982, allocations: 33.7 kB / 1.536 GB, free: 12.52 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.4985, allocations: 335.8 kB / 1.536 GB, free: 12.18 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.4985, allocations: 83.31 kB / 1.536 GB, free: 12.1 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.4986, allocations: 69.98 kB / 1.536 GB, free: 12.03 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4988, allocations: 366.7 kB / 1.536 GB, free: 11.66 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.4991, allocations: 128.6 kB / 1.537 GB, free: 11.54 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.4994, allocations: 218.6 kB / 1.537 GB, free: 11.29 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.4999, allocations: 332.4 kB / 1.537 GB, free: 10.93 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4999, allocations: 3.984 kB / 1.537 GB, free: 10.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008776/0.5008, allocations: 495.4 kB / 1.538 GB, free: 10.43 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5008, allocations: 12 kB / 1.538 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5008, allocations: 0 / 1.538 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/0.5011, allocations: 97.64 kB / 1.538 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.5014, allocations: 71.91 kB / 1.538 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.5044, allocations: 3.144 MB / 1.541 GB, free: 6.875 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.5049, allocations: 47.61 kB / 1.541 GB, free: 6.828 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.5049, allocations: 16 kB / 1.541 GB, free: 6.812 MB / 1.232 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.0002989/0.5052, allocations: 218.3 kB / 1.541 GB, free: 6.59 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.5053, allocations: 55.67 kB / 1.541 GB, free: 6.535 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.261e-05/0.5054, allocations: 60.44 kB / 1.541 GB, free: 6.477 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5054, allocations: 0 / 1.541 GB, free: 6.477 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5054, allocations: 7.938 kB / 1.541 GB, free: 6.469 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007028/0.5061, allocations: 0.5246 MB / 1.542 GB, free: 5.875 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.5073, allocations: 0.8939 MB / 1.543 GB, free: 4.922 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5073, allocations: 0 / 1.543 GB, free: 4.922 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.5075, allocations: 35.98 kB / 1.543 GB, free: 4.887 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/0.5077, allocations: 72.73 kB / 1.543 GB, free: 4.812 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.5077, allocations: 4 kB / 1.543 GB, free: 4.809 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.5094, allocations: 1.726 MB / 1.544 GB, free: 2.969 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5094, allocations: 4.062 kB / 1.544 GB, free: 2.965 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006388/0.51, allocations: 435.3 kB / 1.545 GB, free: 2.516 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.5102, allocations: 91.56 kB / 1.545 GB, free: 2.426 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.5103, allocations: 11.94 kB / 1.545 GB, free: 2.414 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.5107, allocations: 22.8 kB / 1.545 GB, free: 2.395 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.5108, allocations: 19.95 kB / 1.545 GB, free: 2.375 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.5108, allocations: 12 kB / 1.545 GB, free: 2.363 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004454/0.5113, allocations: 402.8 kB / 1.545 GB, free: 1.973 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5113, allocations: 3.938 kB / 1.545 GB, free: 1.969 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006014/0.5119, allocations: 199.7 kB / 1.546 GB, free: 1.773 MB / 1.232 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.001039/0.5129, allocations: 1.024 MB / 1.547 GB, free: 0.7148 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008448/0.5138, allocations: 0.5205 MB / 1.547 GB, free: 172 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5138, allocations: 0 / 1.547 GB, free: 172 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.5141, allocations: 250.5 kB / 1.547 GB, free: 15.91 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.5157, allocations: 373.1 kB / 1.548 GB, free: 15.55 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.5215, allocations: 4.47 MB / 1.552 GB, free: 10.91 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.522, allocations: 0.9131 MB / 1.553 GB, free: 9.973 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003805/0.5224, allocations: 112.8 kB / 1.553 GB, free: 9.863 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.5226, allocations: 187.4 kB / 1.553 GB, free: 9.68 MB / 1.248 GB Notification: Performance of SimCode: time 6.71e-07/0.5226, allocations: 4 kB / 1.553 GB, free: 9.676 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.5676, allocations: 18.19 MB / 1.571 GB, free: 7.797 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.27, allocations: 10.11 kB / 1.571 GB, free: 7.789 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.32152474101167] Failed to read output from testmodel.py, exit status != 0: 13.452199984982144 13.470156255 12.980768504 Calling exit ...