Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001277/0.001277, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001422/0.001422, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.398/1.398, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.784/2.784, allocations: 0.49 GB / 0.7923 GB, free: 1.344 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_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.001941/0.001941, allocations: 63.91 kB / 1.149 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8853/0.8872, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2194/1.107, allocations: 174.6 MB / 1.492 GB, free: 7.695 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007599/1.114, allocations: 4.317 MB / 1.496 GB, free: 4.195 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/1.115, allocations: 30.5 kB / 1.496 GB, free: 4.18 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/1.117, allocations: 370.8 kB / 1.497 GB, free: 3.887 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003759/1.12, allocations: 1.265 MB / 1.498 GB, free: 2.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/1.123, allocations: 0.7982 MB / 1.499 GB, free: 2.309 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00318/1.126, allocations: 1.694 MB / 1.5 GB, free: 1.336 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/1.127, allocations: 498.1 kB / 1.501 GB, free: 1.016 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/1.129, allocations: 0.7747 MB / 1.501 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/1.131, allocations: 0.5798 MB / 1.502 GB, free: 232 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/1.131, allocations: 69.25 kB / 1.502 GB, free: 228 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/1.133, allocations: 0.8463 MB / 1.503 GB, free: 15.62 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005098/1.134, allocations: 275.2 kB / 1.503 GB, free: 15.35 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007392/1.134, allocations: 406.2 kB / 1.504 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/1.137, allocations: 1.273 MB / 1.505 GB, free: 13.67 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.137, allocations: 0 / 1.505 GB, free: 13.67 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.064e-06/1.137, allocations: 0 / 1.505 GB, free: 13.67 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.779e-05/1.137, allocations: 0 / 1.505 GB, free: 13.67 MB / 1.186 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.002399/1.14, allocations: 1.061 MB / 1.506 GB, free: 12.56 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.14, allocations: 19.92 kB / 1.506 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.933e-05/1.14, allocations: 13.31 kB / 1.506 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/1.14, allocations: 102.5 kB / 1.506 GB, free: 12.42 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/1.141, allocations: 171.4 kB / 1.506 GB, free: 12.25 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/1.142, allocations: 0.5487 MB / 1.507 GB, free: 11.66 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/1.142, allocations: 41.31 kB / 1.507 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/1.142, allocations: 52 kB / 1.507 GB, free: 11.57 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/1.144, allocations: 0.6518 MB / 1.507 GB, free: 10.9 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1.144, allocations: 0 / 1.507 GB, free: 10.9 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/1.144, allocations: 28 kB / 1.507 GB, free: 10.88 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/1.144, allocations: 21.31 kB / 1.507 GB, free: 10.86 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/1.145, allocations: 0.5087 MB / 1.508 GB, free: 10.35 MB / 1.186 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.004207/1.149, allocations: 2.294 MB / 1.51 GB, free: 7.883 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/1.149, allocations: 251.2 kB / 1.51 GB, free: 7.629 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/1.15, allocations: 123.2 kB / 1.511 GB, free: 7.508 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/1.15, allocations: 7.953 kB / 1.511 GB, free: 7.5 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/1.15, allocations: 42.56 kB / 1.511 GB, free: 7.449 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/1.15, allocations: 0 / 1.511 GB, free: 7.449 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001902/1.152, allocations: 0.6649 MB / 1.511 GB, free: 6.734 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/1.152, allocations: 85.05 kB / 1.511 GB, free: 6.633 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/1.153, allocations: 0.5535 MB / 1.512 GB, free: 6.074 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/1.153, allocations: 33.7 kB / 1.512 GB, free: 6.035 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/1.153, allocations: 343.8 kB / 1.512 GB, free: 5.691 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.553e-05/1.153, allocations: 71.39 kB / 1.512 GB, free: 5.621 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.153, allocations: 73.92 kB / 1.512 GB, free: 5.543 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002163/1.153, allocations: 362.7 kB / 1.513 GB, free: 5.18 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/1.154, allocations: 132.6 kB / 1.513 GB, free: 5.051 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/1.154, allocations: 214.6 kB / 1.513 GB, free: 4.809 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/1.155, allocations: 336.9 kB / 1.513 GB, free: 4.449 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.155, allocations: 0 / 1.513 GB, free: 4.449 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001067/1.156, allocations: 0.495 MB / 1.514 GB, free: 3.941 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.156, allocations: 8 kB / 1.514 GB, free: 3.934 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.156, allocations: 4 kB / 1.514 GB, free: 3.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/1.156, allocations: 89.66 kB / 1.514 GB, free: 3.836 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/1.157, allocations: 71.89 kB / 1.514 GB, free: 3.766 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/1.16, allocations: 3.344 MB / 1.517 GB, free: 144 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/1.161, allocations: 51.61 kB / 1.517 GB, free: 92 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/1.161, allocations: 16 kB / 1.517 GB, free: 76 kB / 1.186 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.000374/1.161, allocations: 215.6 kB / 1.518 GB, free: 15.86 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/1.162, allocations: 55.67 kB / 1.518 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/1.162, allocations: 60.56 kB / 1.518 GB, free: 15.74 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.162, allocations: 11.88 kB / 1.518 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.162, allocations: 0 / 1.518 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008658/1.163, allocations: 0.5329 MB / 1.518 GB, free: 15.13 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/1.164, allocations: 0.9121 MB / 1.519 GB, free: 14.15 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/1.164, allocations: 4 kB / 1.519 GB, free: 14.15 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/1.164, allocations: 43.97 kB / 1.519 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/1.165, allocations: 60.81 kB / 1.519 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/1.165, allocations: 7.984 kB / 1.519 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/1.167, allocations: 1.829 MB / 1.521 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.167, allocations: 3.984 kB / 1.521 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008382/1.167, allocations: 433.6 kB / 1.521 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/1.168, allocations: 180.6 kB / 1.522 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/1.168, allocations: 8 kB / 1.522 GB, free: 11.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/1.168, allocations: 15.98 kB / 1.522 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/1.168, allocations: 23.91 kB / 1.522 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/1.168, allocations: 11.98 kB / 1.522 GB, free: 11.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005273/1.169, allocations: 398.8 kB / 1.522 GB, free: 10.97 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.169, allocations: 0 / 1.522 GB, free: 10.97 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000726/1.17, allocations: 207.7 kB / 1.522 GB, free: 10.77 MB / 1.201 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.00142/1.171, allocations: 1.023 MB / 1.523 GB, free: 9.715 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001067/1.172, allocations: 0.5282 MB / 1.524 GB, free: 9.16 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.172, allocations: 0 / 1.524 GB, free: 9.16 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004122/1.173, allocations: 245.2 kB / 1.524 GB, free: 8.91 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/1.174, allocations: 369.4 kB / 1.524 GB, free: 8.551 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007103/1.182, allocations: 4.465 MB / 1.529 GB, free: 3.922 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/1.182, allocations: 0.9093 MB / 1.53 GB, free: 2.984 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004856/1.183, allocations: 112.8 kB / 1.53 GB, free: 2.871 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/1.183, allocations: 191.4 kB / 1.53 GB, free: 2.684 MB / 1.201 GB Notification: Performance of SimCode: time 1.102e-06/1.183, allocations: 0 / 1.53 GB, free: 2.684 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05467/1.238, allocations: 17.93 MB / 1.547 GB, free: 1.145 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.71, allocations: 0 / 1.547 GB, free: 1.145 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.75142068200512] Failed to read output from testmodel.py, exit status != 0: 13.862190607003868 13.8764391 12.735812482 Calling exit ...