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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008275/0.008275, allocations: 98.31 kB / 15.73 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 196.5 kB / 16.68 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 274.7 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9844/0.9844, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 95.84 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1863, allocations: 86.99 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5695/0.7558, allocations: 171 MB / 0.9329 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006603/0.7625, allocations: 4.3 MB / 0.9371 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/0.7632, allocations: 23.88 kB / 0.9372 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009672/0.7641, allocations: 357.9 kB / 0.9375 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.7668, allocations: 1.217 MB / 0.9387 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.7687, allocations: 0.7934 MB / 0.9395 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.7709, allocations: 1.698 MB / 0.9411 GB, free: 15.83 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007908/0.7717, allocations: 0.5606 MB / 0.9417 GB, free: 15.27 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.7729, allocations: 0.6829 MB / 0.9423 GB, free: 14.58 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.774, allocations: 0.5529 MB / 0.9429 GB, free: 14.03 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.7741, allocations: 64 kB / 0.9429 GB, free: 13.97 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.7757, allocations: 0.799 MB / 0.9437 GB, free: 13.17 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.7761, allocations: 279.3 kB / 0.944 GB, free: 12.89 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.7765, allocations: 406.3 kB / 0.9444 GB, free: 12.5 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.7782, allocations: 1.269 MB / 0.9456 GB, free: 11.22 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7782, allocations: 4 kB / 0.9456 GB, free: 11.22 MB / 0.7013 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7782, allocations: 0 / 0.9456 GB, free: 11.22 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.7783, allocations: 0 / 0.9456 GB, free: 11.22 MB / 0.7013 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.001647/0.7799, allocations: 1.055 MB / 0.9466 GB, free: 10.11 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.78, allocations: 12.02 kB / 0.9466 GB, free: 10.1 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.7801, allocations: 94.52 kB / 0.9467 GB, free: 9.996 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.781, allocations: 167.4 kB / 0.9469 GB, free: 9.832 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008046/0.7819, allocations: 0.5486 MB / 0.9474 GB, free: 9.25 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.7819, allocations: 45.3 kB / 0.9475 GB, free: 9.207 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.782, allocations: 48 kB / 0.9475 GB, free: 9.16 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.7831, allocations: 0.6441 MB / 0.9482 GB, free: 8.504 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.7831, allocations: 7.984 kB / 0.9482 GB, free: 8.496 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.7832, allocations: 24 kB / 0.9482 GB, free: 8.473 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.7832, allocations: 21.31 kB / 0.9482 GB, free: 8.449 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009375/0.7842, allocations: 0.5125 MB / 0.9487 GB, free: 7.938 MB / 0.7013 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.003274/0.7874, allocations: 2.303 MB / 0.951 GB, free: 5.465 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.788, allocations: 261.4 kB / 0.9512 GB, free: 5.203 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.7882, allocations: 136.8 kB / 0.9513 GB, free: 5.066 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.7883, allocations: 3.938 kB / 0.9513 GB, free: 5.062 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.7883, allocations: 38.56 kB / 0.9514 GB, free: 5.016 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.7883, allocations: 3.938 kB / 0.9514 GB, free: 5.012 MB / 0.7013 GB Notification: Performance of matching and sorting (n=20): time 0.001685/0.79, allocations: 0.6713 MB / 0.952 GB, free: 4.293 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.7901, allocations: 85.09 kB / 0.9521 GB, free: 4.191 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.7908, allocations: 0.5535 MB / 0.9527 GB, free: 3.629 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.7908, allocations: 37.7 kB / 0.9527 GB, free: 3.586 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.7911, allocations: 335.8 kB / 0.953 GB, free: 3.254 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-05/0.7912, allocations: 79.36 kB / 0.9531 GB, free: 3.176 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.7913, allocations: 69.98 kB / 0.9532 GB, free: 3.102 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.7915, allocations: 362.7 kB / 0.9535 GB, free: 2.738 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.7918, allocations: 124.6 kB / 0.9536 GB, free: 2.617 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.7921, allocations: 219.2 kB / 0.9538 GB, free: 2.371 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.7927, allocations: 337.4 kB / 0.9541 GB, free: 2.012 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7927, allocations: 0 / 0.9541 GB, free: 2.012 MB / 0.7013 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009244/0.7936, allocations: 0.4948 MB / 0.9546 GB, free: 1.504 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.7937, allocations: 4 kB / 0.9546 GB, free: 1.5 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.7937, allocations: 4.281 kB / 0.9546 GB, free: 1.496 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/0.794, allocations: 100.5 kB / 0.9547 GB, free: 1.395 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.7943, allocations: 71.89 kB / 0.9548 GB, free: 1.324 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.7977, allocations: 3.345 MB / 0.9581 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.7982, allocations: 47.69 kB / 0.9581 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.7982, allocations: 16 kB / 0.9581 GB, free: 13.64 MB / 0.7169 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.0002935/0.7985, allocations: 217.7 kB / 0.9583 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.706e-05/0.7986, allocations: 55.67 kB / 0.9584 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.619e-05/0.7987, allocations: 56.5 kB / 0.9584 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7988, allocations: 0 / 0.9584 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7988, allocations: 3.938 kB / 0.9584 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000762/0.7995, allocations: 0.5402 MB / 0.959 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.8008, allocations: 0.9136 MB / 0.9599 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8008, allocations: 0 / 0.9599 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.801, allocations: 44.03 kB / 0.9599 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.8012, allocations: 64.8 kB / 0.96 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.8013, allocations: 12.81 kB / 0.96 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.803, allocations: 1.819 MB / 0.9618 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.8031, allocations: 3.938 kB / 0.9618 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.8037, allocations: 441.7 kB / 0.9622 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.804, allocations: 169 kB / 0.9623 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.804, allocations: 11.88 kB / 0.9624 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.8044, allocations: 22.02 kB / 0.9624 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.8045, allocations: 27.95 kB / 0.9624 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.8046, allocations: 19.98 kB / 0.9624 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004733/0.805, allocations: 398.8 kB / 0.9628 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8051, allocations: 0 / 0.9628 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006153/0.8057, allocations: 207.7 kB / 0.963 GB, free: 8.328 MB / 0.7169 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.001256/0.8069, allocations: 1.033 MB / 0.964 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009725/0.8079, allocations: 0.5321 MB / 0.9645 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.8079, allocations: 4 kB / 0.9645 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.8083, allocations: 248.9 kB / 0.9648 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.8099, allocations: 372.6 kB / 0.9651 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006244/0.8162, allocations: 4.468 MB / 0.9695 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.8168, allocations: 0.9132 MB / 0.9704 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004104/0.8172, allocations: 112.8 kB / 0.9705 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.8174, allocations: 191.4 kB / 0.9707 GB, free: 232 kB / 0.7169 GB Notification: Performance of SimCode: time 5.92e-07/0.8174, allocations: 0 / 0.9707 GB, free: 232 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07435/0.8918, allocations: 17.82 MB / 0.9881 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.5, allocations: 14.53 kB / 0.9881 GB, free: 14.84 MB / 0.7481 GB (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)