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.001473/0.001473, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 294.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9687/0.9687, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 104.3 kB / 0.5953 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1508, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.467/0.6178, allocations: 171 MB / 0.8473 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006756/0.6246, allocations: 4.293 MB / 0.8515 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008787/0.6255, allocations: 22.31 kB / 0.8515 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.6266, allocations: 357.8 kB / 0.8519 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.6297, allocations: 1.22 MB / 0.8531 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.6319, allocations: 0.7801 MB / 0.8538 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002424/0.6343, allocations: 1.7 MB / 0.8555 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009517/0.6353, allocations: 0.565 MB / 0.856 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.6368, allocations: 0.676 MB / 0.8567 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.6382, allocations: 0.5526 MB / 0.8572 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.6384, allocations: 63.16 kB / 0.8573 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.6401, allocations: 0.8045 MB / 0.8581 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.6404, allocations: 266.3 kB / 0.8583 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.6409, allocations: 413.8 kB / 0.8587 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.6426, allocations: 1.252 MB / 0.86 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6427, allocations: 2.531 kB / 0.86 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6427, allocations: 0 / 0.86 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.6427, allocations: 0 / 0.86 GB, free: 6.695 MB / 0.5762 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.001811/0.6445, allocations: 1.041 MB / 0.861 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.6445, allocations: 7.688 kB / 0.861 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.6447, allocations: 101.5 kB / 0.8611 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009248/0.6456, allocations: 158.8 kB / 0.8612 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/0.6464, allocations: 0.5255 MB / 0.8617 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.6464, allocations: 43.78 kB / 0.8618 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.6465, allocations: 49.16 kB / 0.8618 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6475, allocations: 0.652 MB / 0.8625 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6476, allocations: 0 / 0.8625 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.6476, allocations: 23.69 kB / 0.8625 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.6477, allocations: 29 kB / 0.8625 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008921/0.6486, allocations: 0.5103 MB / 0.863 GB, free: 4.574 MB / 0.5762 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.003424/0.652, allocations: 2.316 MB / 0.8653 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.6525, allocations: 248.7 kB / 0.8655 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.6528, allocations: 142.1 kB / 0.8656 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.6528, allocations: 6.656 kB / 0.8657 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.6529, allocations: 36.69 kB / 0.8657 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 2.635e-06/0.6529, allocations: 2.938 kB / 0.8657 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001785/0.6547, allocations: 0.6709 MB / 0.8663 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.6548, allocations: 78.95 kB / 0.8664 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.6555, allocations: 0.5611 MB / 0.867 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.6555, allocations: 34.55 kB / 0.867 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.6558, allocations: 330.2 kB / 0.8673 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.6559, allocations: 76.64 kB / 0.8674 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.656, allocations: 69.42 kB / 0.8675 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.6562, allocations: 367.8 kB / 0.8678 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.6565, allocations: 127.9 kB / 0.8679 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.6568, allocations: 225.5 kB / 0.8681 GB, free: 492 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.6573, allocations: 331.8 kB / 0.8685 GB, free: 268 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6573, allocations: 3.938 kB / 0.8685 GB, free: 264 kB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008797/0.6582, allocations: 0.4923 MB / 0.8689 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.6582, allocations: 4.75 kB / 0.869 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6582, allocations: 3.375 kB / 0.869 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.6586, allocations: 99.16 kB / 0.869 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.6589, allocations: 75.48 kB / 0.8691 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.6622, allocations: 3.337 MB / 0.8724 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.6628, allocations: 54.39 kB / 0.8724 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.6629, allocations: 10.41 kB / 0.8724 GB, free: 12.67 MB / 0.5919 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.0003127/0.6632, allocations: 215.6 kB / 0.8726 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.6633, allocations: 54.44 kB / 0.8727 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.522e-05/0.6634, allocations: 58.84 kB / 0.8728 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.6634, allocations: 2.094 kB / 0.8728 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6634, allocations: 3.938 kB / 0.8728 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007211/0.6641, allocations: 0.5331 MB / 0.8733 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.6654, allocations: 0.915 MB / 0.8742 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6654, allocations: 4.062 kB / 0.8742 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.6656, allocations: 41.12 kB / 0.8742 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.6658, allocations: 69.23 kB / 0.8743 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.6658, allocations: 2.75 kB / 0.8743 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.6677, allocations: 1.817 MB / 0.8761 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.6677, allocations: 10.34 kB / 0.8761 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.6684, allocations: 436.7 kB / 0.8765 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.6687, allocations: 163 kB / 0.8766 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.6688, allocations: 13.84 kB / 0.8767 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.6692, allocations: 23.89 kB / 0.8767 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.6693, allocations: 15.88 kB / 0.8767 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.6693, allocations: 18.17 kB / 0.8767 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004865/0.6698, allocations: 403.6 kB / 0.8771 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.424e-06/0.6698, allocations: 0 / 0.8771 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007086/0.6706, allocations: 202 kB / 0.8773 GB, free: 8.742 MB / 0.5919 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.001226/0.6718, allocations: 1.048 MB / 0.8783 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009739/0.6728, allocations: 0.5445 MB / 0.8788 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6728, allocations: 3.75 kB / 0.8788 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.6732, allocations: 249.4 kB / 0.8791 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.675, allocations: 365.1 kB / 0.8794 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.6813, allocations: 4.539 MB / 0.8839 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.6819, allocations: 0.9091 MB / 0.8848 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005436/0.6825, allocations: 118.8 kB / 0.8849 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.6828, allocations: 192 kB / 0.8851 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.6828, allocations: 0 / 0.8851 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/0.7333, allocations: 17.65 MB / 0.9023 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.82, allocations: 8.688 kB / 0.9023 GB, free: 3.219 MB / 0.6075 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)