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.0008075/0.0008075, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007997/0.0007997, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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.8465/0.8465, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001353/0.001353, allocations: 233.8 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6784/0.6784, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 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.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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.25e-05, allocations: 9.312 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3709/0.3709, allocations: 150.8 MB / 0.7936 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004719/0.3756, allocations: 4.033 MB / 0.7975 GB, free: 156 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/0.3763, allocations: 27.75 kB / 0.7975 GB, free: 128 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009313/0.3772, allocations: 341.8 kB / 0.7979 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.3797, allocations: 1.317 MB / 0.7992 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.3813, allocations: 0.8273 MB / 0.8 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.3832, allocations: 1.765 MB / 0.8017 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/0.3837, allocations: 433.7 kB / 0.8021 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.3848, allocations: 0.9348 MB / 0.803 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009365/0.3858, allocations: 0.5154 MB / 0.8035 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.3858, allocations: 64 kB / 0.8036 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.387, allocations: 0.6776 MB / 0.8042 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.3872, allocations: 299.1 kB / 0.8045 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.3874, allocations: 287.4 kB / 0.8048 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.3888, allocations: 1.297 MB / 0.8061 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.3888, allocations: 0 / 0.8061 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3888, allocations: 4 kB / 0.8061 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.3889, allocations: 0 / 0.8061 GB, free: 7.375 MB / 0.6355 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.001475/0.3903, allocations: 0.9807 MB / 0.807 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3904, allocations: 13.94 kB / 0.807 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.384e-05/0.3905, allocations: 94.52 kB / 0.8071 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/0.3911, allocations: 167.4 kB / 0.8073 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.3917, allocations: 486.8 kB / 0.8078 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.3917, allocations: 41.31 kB / 0.8078 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.3918, allocations: 59.92 kB / 0.8079 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008431/0.3926, allocations: 1 MB / 0.8088 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3926, allocations: 0 / 0.8088 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.3927, allocations: 28 kB / 0.8089 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.3927, allocations: 21.31 kB / 0.8089 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.3933, allocations: 0.5086 MB / 0.8094 GB, free: 3.824 MB / 0.6355 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.002081/0.3954, allocations: 1.667 MB / 0.811 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.3957, allocations: 244.6 kB / 0.8112 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.3959, allocations: 124.6 kB / 0.8114 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3959, allocations: 8 kB / 0.8114 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3959, allocations: 38.56 kB / 0.8114 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.675e-06/0.3959, allocations: 0 / 0.8114 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0009818/0.3969, allocations: 0.5197 MB / 0.8119 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.397, allocations: 85.11 kB / 0.812 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.3974, allocations: 0.5651 MB / 0.8125 GB, free: 488 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3974, allocations: 33.7 kB / 0.8126 GB, free: 448 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3976, allocations: 339.7 kB / 0.8129 GB, free: 104 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.3976, allocations: 75.42 kB / 0.813 GB, free: 28 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3977, allocations: 69.98 kB / 0.813 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3978, allocations: 362.7 kB / 0.8134 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.398, allocations: 128.6 kB / 0.8135 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3982, allocations: 244.9 kB / 0.8137 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.3985, allocations: 337.1 kB / 0.8141 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3985, allocations: 1.375 kB / 0.8141 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008984/0.3994, allocations: 494.7 kB / 0.8145 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3994, allocations: 8.625 kB / 0.8145 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3994, allocations: 4 kB / 0.8145 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.3997, allocations: 101.9 kB / 0.8146 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.3998, allocations: 71.91 kB / 0.8147 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.4019, allocations: 3.117 MB / 0.8178 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.4023, allocations: 55.61 kB / 0.8178 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.4023, allocations: 15.88 kB / 0.8178 GB, free: 10.73 MB / 0.6511 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.0002731/0.4025, allocations: 221.7 kB / 0.818 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.4026, allocations: 59.73 kB / 0.8181 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.4027, allocations: 52.44 kB / 0.8181 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4027, allocations: 4.75 kB / 0.8181 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.4027, allocations: 0 / 0.8181 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004546/0.4032, allocations: 0.5371 MB / 0.8187 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/0.404, allocations: 0.8165 MB / 0.8195 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.404, allocations: 0 / 0.8195 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.4041, allocations: 43.09 kB / 0.8195 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.4042, allocations: 68.75 kB / 0.8196 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4042, allocations: 4 kB / 0.8196 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.4056, allocations: 1.706 MB / 0.8212 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4056, allocations: 3.938 kB / 0.8212 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.4061, allocations: 434.1 kB / 0.8217 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.4062, allocations: 91.56 kB / 0.8217 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.4063, allocations: 4 kB / 0.8217 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.4065, allocations: 29.23 kB / 0.8218 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.4066, allocations: 31.91 kB / 0.8218 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.4066, allocations: 11.98 kB / 0.8218 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003185/0.4069, allocations: 398.8 kB / 0.8222 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-08/0.4069, allocations: 0 / 0.8222 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004896/0.4074, allocations: 203.7 kB / 0.8224 GB, free: 5.785 MB / 0.6511 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.0007558/0.4082, allocations: 1.028 MB / 0.8234 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006156/0.4088, allocations: 0.5204 MB / 0.8239 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4088, allocations: 0 / 0.8239 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.409, allocations: 244.2 kB / 0.8241 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009439/0.4099, allocations: 375.2 kB / 0.8245 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.4146, allocations: 4.463 MB / 0.8289 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.4148, allocations: 310.7 kB / 0.8291 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003926/0.4152, allocations: 119.6 kB / 0.8293 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.4154, allocations: 192.4 kB / 0.8294 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of SimCode: time 2.054e-06/0.4154, allocations: 0 / 0.8294 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.4487, allocations: 19.58 MB / 0.8486 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.11, allocations: 2.75 kB / 0.8486 GB, free: 11.32 MB / 0.6823 GB " [Timeout remaining time 652] (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: 10.710657007060945] Failed to read output from testmodel.py, exit status != 0: 8.208059997297823 8.217594356 7.826619834 Calling exit ...