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.004871/0.004871, allocations: 97.14 kB / 15.73 MB, free: 6.039 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.001289/0.001289, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002575, allocations: 294.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 178.6 MB / 0.5074 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 103.8 kB / 0.6943 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4689, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1967/0.6656, allocations: 171.1 MB / 0.9484 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006382/0.672, allocations: 4.292 MB / 0.9526 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005309/0.6726, allocations: 27.81 kB / 0.9526 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000938/0.6736, allocations: 354 kB / 0.9529 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.6761, allocations: 1.221 MB / 0.9541 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.6779, allocations: 0.7891 MB / 0.9549 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.68, allocations: 1.695 MB / 0.9565 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.6807, allocations: 0.5698 MB / 0.9571 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.6818, allocations: 0.6825 MB / 0.9578 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.6829, allocations: 0.5543 MB / 0.9583 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.683, allocations: 67.94 kB / 0.9584 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.6845, allocations: 0.799 MB / 0.9592 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.6848, allocations: 271.3 kB / 0.9594 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.6852, allocations: 406.3 kB / 0.9598 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.6868, allocations: 1.269 MB / 0.961 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6868, allocations: 0 / 0.961 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6868, allocations: 0 / 0.961 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.6868, allocations: 4 kB / 0.961 GB, free: 6.605 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.001704/0.6886, allocations: 1.055 MB / 0.9621 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6886, allocations: 8.031 kB / 0.9621 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.6887, allocations: 98.52 kB / 0.9622 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000938/0.6897, allocations: 167.4 kB / 0.9623 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007904/0.6905, allocations: 0.5448 MB / 0.9629 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.6905, allocations: 41.25 kB / 0.9629 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.6906, allocations: 52 kB / 0.963 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.6917, allocations: 0.6518 MB / 0.9636 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.6917, allocations: 0 / 0.9636 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.6917, allocations: 24 kB / 0.9636 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/0.6918, allocations: 25.3 kB / 0.9636 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009141/0.6927, allocations: 0.5126 MB / 0.9641 GB, free: 3.316 MB / 0.7169 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.003186/0.6959, allocations: 2.305 MB / 0.9664 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.6964, allocations: 250.8 kB / 0.9666 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.6967, allocations: 147.3 kB / 0.9668 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.6967, allocations: 4 kB / 0.9668 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.6968, allocations: 38.56 kB / 0.9668 GB, free: 408 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.6968, allocations: 0 / 0.9668 GB, free: 408 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001635/0.6984, allocations: 0.6721 MB / 0.9675 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.6985, allocations: 81.11 kB / 0.9675 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006709/0.6991, allocations: 0.5574 MB / 0.9681 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.6992, allocations: 33.7 kB / 0.9681 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.6995, allocations: 339.8 kB / 0.9684 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.6995, allocations: 71.39 kB / 0.9685 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.6997, allocations: 69.98 kB / 0.9686 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6998, allocations: 366.7 kB / 0.9689 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.7001, allocations: 128.6 kB / 0.9691 GB, free: 14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.7005, allocations: 210.7 kB / 0.9693 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.7011, allocations: 341.4 kB / 0.9696 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7011, allocations: 0 / 0.9696 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009239/0.702, allocations: 0.495 MB / 0.9701 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.702, allocations: 4 kB / 0.9701 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.7021, allocations: 4 kB / 0.9701 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003108/0.7024, allocations: 93.53 kB / 0.9702 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.7027, allocations: 75.91 kB / 0.9702 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/0.7059, allocations: 3.353 MB / 0.9735 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.7063, allocations: 47.61 kB / 0.9736 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.7064, allocations: 16 kB / 0.9736 GB, free: 9.012 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.0002924/0.7067, allocations: 213.7 kB / 0.9738 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.7068, allocations: 59.73 kB / 0.9738 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.195e-05/0.7069, allocations: 64.44 kB / 0.9739 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7069, allocations: 0 / 0.9739 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7069, allocations: 3.938 kB / 0.9739 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007561/0.7077, allocations: 0.5345 MB / 0.9744 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.7089, allocations: 0.9163 MB / 0.9753 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7089, allocations: 0 / 0.9753 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.7091, allocations: 39.97 kB / 0.9753 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.7094, allocations: 64.81 kB / 0.9754 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.7094, allocations: 12.05 kB / 0.9754 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.7111, allocations: 1.821 MB / 0.9772 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.7112, allocations: 7.922 kB / 0.9772 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/0.7118, allocations: 433.7 kB / 0.9776 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.712, allocations: 168.7 kB / 0.9778 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.7121, allocations: 11.94 kB / 0.9778 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.7125, allocations: 15.98 kB / 0.9778 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.7126, allocations: 19.97 kB / 0.9778 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.7126, allocations: 19.98 kB / 0.9778 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004569/0.7131, allocations: 390.8 kB / 0.9782 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.346e-06/0.7131, allocations: 0 / 0.9782 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000605/0.7137, allocations: 223.6 kB / 0.9784 GB, free: 3.691 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.001228/0.7149, allocations: 1.026 MB / 0.9794 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009148/0.7159, allocations: 0.5322 MB / 0.98 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7159, allocations: 0.5625 kB / 0.98 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.7163, allocations: 250.6 kB / 0.9802 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.7179, allocations: 374.7 kB / 0.9806 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/0.7238, allocations: 4.485 MB / 0.9849 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.7244, allocations: 0.9135 MB / 0.9858 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003861/0.7248, allocations: 108.8 kB / 0.9859 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.7251, allocations: 194.5 kB / 0.9861 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.7251, allocations: 4 kB / 0.9861 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04909/0.7742, allocations: 17.8 MB / 1.003 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.41, allocations: 15.62 kB / 1.004 GB, free: 10.2 MB / 0.7637 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)