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.00129/0.00129, allocations: 108 kB / 15.6 MB, free: 132 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.001243/0.001243, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002378/0.002378, allocations: 282.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 1.01/1.01, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 98.06 kB / 0.6065 GB, free: 24.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1606, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4565/0.6172, allocations: 171 MB / 0.8606 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006563/0.6238, allocations: 4.299 MB / 0.8648 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006719/0.6245, allocations: 27.06 kB / 0.8649 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.6255, allocations: 355.2 kB / 0.8652 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.6283, allocations: 1.223 MB / 0.8664 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.6302, allocations: 0.7887 MB / 0.8672 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.6321, allocations: 1.691 MB / 0.8688 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000716/0.6328, allocations: 0.5632 MB / 0.8694 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.6338, allocations: 0.6781 MB / 0.87 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.6349, allocations: 0.5424 MB / 0.8705 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.557e-05/0.635, allocations: 65.66 kB / 0.8706 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.6364, allocations: 0.8062 MB / 0.8714 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.6367, allocations: 272.6 kB / 0.8717 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.6371, allocations: 406.3 kB / 0.872 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.6386, allocations: 1.256 MB / 0.8733 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6386, allocations: 0 / 0.8733 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6386, allocations: 0 / 0.8733 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.6386, allocations: 0 / 0.8733 GB, free: 1.797 MB / 0.5919 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.001703/0.6403, allocations: 1.041 MB / 0.8743 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6403, allocations: 10.19 kB / 0.8743 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.6405, allocations: 101 kB / 0.8744 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/0.6414, allocations: 164.7 kB / 0.8745 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.6422, allocations: 0.5216 MB / 0.8751 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.6422, allocations: 43.95 kB / 0.8751 GB, free: 360 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.6423, allocations: 48.28 kB / 0.8751 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.6435, allocations: 0.6548 MB / 0.8758 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6435, allocations: 0 / 0.8758 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.906e-05/0.6436, allocations: 20.72 kB / 0.8758 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.6437, allocations: 21.75 kB / 0.8758 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/0.6446, allocations: 0.5135 MB / 0.8763 GB, free: 15.68 MB / 0.6075 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.003257/0.6479, allocations: 2.312 MB / 0.8786 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.6484, allocations: 267 kB / 0.8788 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.6486, allocations: 132.8 kB / 0.879 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.6487, allocations: 7.938 kB / 0.879 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.6487, allocations: 46.44 kB / 0.879 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.6487, allocations: 4 kB / 0.879 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001686/0.6504, allocations: 0.6688 MB / 0.8797 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.6505, allocations: 81.11 kB / 0.8798 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006674/0.6512, allocations: 0.5536 MB / 0.8803 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.6512, allocations: 33.7 kB / 0.8803 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.6515, allocations: 339 kB / 0.8806 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.206e-05/0.6516, allocations: 63.09 kB / 0.8807 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.6517, allocations: 69.94 kB / 0.8808 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.6519, allocations: 362.7 kB / 0.8811 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.6522, allocations: 136.6 kB / 0.8813 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.6525, allocations: 214.6 kB / 0.8815 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.6531, allocations: 333.4 kB / 0.8818 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6531, allocations: 8 kB / 0.8818 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009262/0.654, allocations: 488.2 kB / 0.8822 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.6541, allocations: 15.98 kB / 0.8823 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6541, allocations: 5.422 kB / 0.8823 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.6544, allocations: 93.66 kB / 0.8824 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.6547, allocations: 67.91 kB / 0.8824 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.658, allocations: 3.342 MB / 0.8857 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.6585, allocations: 55.36 kB / 0.8857 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.6585, allocations: 16 kB / 0.8858 GB, free: 6.004 MB / 0.6075 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.0002688/0.6588, allocations: 214.5 kB / 0.886 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.6589, allocations: 51.44 kB / 0.886 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.659, allocations: 56.56 kB / 0.8861 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.659, allocations: 4 kB / 0.8861 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.6591, allocations: 3.938 kB / 0.8861 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007809/0.6598, allocations: 0.5321 MB / 0.8866 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.6612, allocations: 0.9212 MB / 0.8875 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6612, allocations: 0 / 0.8875 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.6614, allocations: 39.97 kB / 0.8875 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.6616, allocations: 68.69 kB / 0.8876 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.6616, allocations: 16.05 kB / 0.8876 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.6635, allocations: 1.819 MB / 0.8894 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6635, allocations: 8.016 kB / 0.8894 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/0.6642, allocations: 425.5 kB / 0.8898 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.6644, allocations: 172.4 kB / 0.89 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.6645, allocations: 3.938 kB / 0.89 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.6649, allocations: 25.98 kB / 0.89 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.665, allocations: 23.91 kB / 0.89 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.6651, allocations: 15.98 kB / 0.89 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004624/0.6655, allocations: 398.8 kB / 0.8904 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6655, allocations: 4 kB / 0.8904 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006707/0.6662, allocations: 203.6 kB / 0.8906 GB, free: 0.7109 MB / 0.6075 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.0013/0.6675, allocations: 1.041 MB / 0.8916 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009351/0.6685, allocations: 0.5331 MB / 0.8921 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.6685, allocations: 7.875 kB / 0.8922 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.6689, allocations: 266.4 kB / 0.8924 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.6705, allocations: 370.9 kB / 0.8928 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006281/0.6768, allocations: 4.545 MB / 0.8972 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.6774, allocations: 0.9132 MB / 0.8981 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000453/0.6779, allocations: 116.8 kB / 0.8982 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.6781, allocations: 191.4 kB / 0.8984 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of SimCode: time 9.11e-07/0.6781, allocations: 0 / 0.8984 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05175/0.7299, allocations: 17.65 MB / 0.9156 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.09, allocations: 5.109 kB / 0.9156 GB, free: 7.273 MB / 0.6387 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)