Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.89/2.89, allocations: 287.5 MB / 302.4 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 189.6 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 96.33 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.000506, allocations: 10.84 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.246, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.944/1.19, allocations: 155.4 MB / 1.13 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008724/1.199, allocations: 4.013 MB / 1.134 GB, free: 15.99 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/1.2, allocations: 17.97 kB / 1.134 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/1.202, allocations: 243.3 kB / 1.134 GB, free: 15.88 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004297/1.206, allocations: 0.8984 MB / 1.135 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/1.209, allocations: 0.5661 MB / 1.136 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003937/1.213, allocations: 1.973 MB / 1.138 GB, free: 15.03 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/1.214, allocations: 419.9 kB / 1.138 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/1.216, allocations: 0.576 MB / 1.139 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/1.218, allocations: 0.5232 MB / 1.139 GB, free: 14.67 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/1.218, allocations: 26.09 kB / 1.139 GB, free: 14.67 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/1.22, allocations: 408.4 kB / 1.14 GB, free: 14.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005015/1.221, allocations: 226.7 kB / 1.14 GB, free: 14.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/1.221, allocations: 175.9 kB / 1.14 GB, free: 14.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002083/1.224, allocations: 0.8786 MB / 1.141 GB, free: 14.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.224, allocations: 5.344 kB / 1.141 GB, free: 14.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.975e-06/1.224, allocations: 0 / 1.141 GB, free: 14.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.141e-05/1.224, allocations: 0 / 1.141 GB, free: 14.42 MB / 0.698 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.003013/1.227, allocations: 0.9064 MB / 1.142 GB, free: 13.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/1.227, allocations: 12.73 kB / 1.142 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002991/1.227, allocations: 101 kB / 1.142 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/1.229, allocations: 158.5 kB / 1.142 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.23, allocations: 0.5016 MB / 1.142 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/1.23, allocations: 42.33 kB / 1.143 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/1.23, allocations: 52.62 kB / 1.143 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/1.232, allocations: 0.6546 MB / 1.143 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/1.232, allocations: 3.953 kB / 1.143 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/1.233, allocations: 24.5 kB / 1.143 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/1.233, allocations: 21.53 kB / 1.143 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/1.234, allocations: 0.5262 MB / 1.144 GB, free: 13.36 MB / 0.698 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.006037/1.24, allocations: 2.302 MB / 1.146 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/1.241, allocations: 262.5 kB / 1.146 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/1.242, allocations: 142.9 kB / 1.146 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-05/1.242, allocations: 3.125 kB / 1.146 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/1.242, allocations: 41.16 kB / 1.146 GB, free: 11.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.535e-06/1.242, allocations: 0.8125 kB / 1.146 GB, free: 11.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.002813/1.245, allocations: 0.6878 MB / 1.147 GB, free: 11.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/1.245, allocations: 83.38 kB / 1.147 GB, free: 11.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.246, allocations: 0.5423 MB / 1.148 GB, free: 11.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/1.246, allocations: 30.02 kB / 1.148 GB, free: 11.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/1.247, allocations: 337.7 kB / 1.148 GB, free: 10.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/1.247, allocations: 74 kB / 1.148 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/1.247, allocations: 5.375 kB / 1.148 GB, free: 10.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.247, allocations: 359.4 kB / 1.149 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/1.247, allocations: 136.5 kB / 1.149 GB, free: 10.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/1.248, allocations: 224.8 kB / 1.149 GB, free: 10.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/1.249, allocations: 165.7 kB / 1.149 GB, free: 10.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.249, allocations: 1.188 kB / 1.149 GB, free: 10.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001734/1.25, allocations: 0.5082 MB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.25, allocations: 9.625 kB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.25, allocations: 2.406 kB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/1.251, allocations: 95.45 kB / 1.15 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/1.252, allocations: 69.25 kB / 1.15 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/1.256, allocations: 3.094 MB / 1.153 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.257, allocations: 70.31 kB / 1.153 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/1.257, allocations: 14.09 kB / 1.153 GB, free: 7.324 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005518/1.258, allocations: 214.2 kB / 1.153 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/1.258, allocations: 59.92 kB / 1.153 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/1.258, allocations: 57.44 kB / 1.153 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.258, allocations: 3.438 kB / 1.153 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.258, allocations: 0 / 1.153 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/1.26, allocations: 0.5393 MB / 1.154 GB, free: 6.734 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/1.262, allocations: 0.923 MB / 1.155 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/1.262, allocations: 9.219 kB / 1.155 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/1.263, allocations: 42.16 kB / 1.155 GB, free: 6.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/1.263, allocations: 67.47 kB / 1.155 GB, free: 6.188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/1.263, allocations: 5.688 kB / 1.155 GB, free: 6.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/1.266, allocations: 1.686 MB / 1.156 GB, free: 4.805 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.266, allocations: 0 / 1.156 GB, free: 4.805 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/1.267, allocations: 453.5 kB / 1.157 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004997/1.268, allocations: 181.5 kB / 1.157 GB, free: 4.422 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.268, allocations: 6.359 kB / 1.157 GB, free: 4.422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008613/1.269, allocations: 31.86 kB / 1.157 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.269, allocations: 14.58 kB / 1.157 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/1.269, allocations: 19.64 kB / 1.157 GB, free: 4.402 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000899/1.27, allocations: 393.3 kB / 1.157 GB, free: 4.262 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.51e-07/1.27, allocations: 0 / 1.157 GB, free: 4.262 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001346/1.271, allocations: 203.4 kB / 1.158 GB, free: 4.246 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002016/1.273, allocations: 1.046 MB / 1.159 GB, free: 3.457 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001574/1.275, allocations: 0.5352 MB / 1.159 GB, free: 3.164 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.275, allocations: 5.094 kB / 1.159 GB, free: 3.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006346/1.276, allocations: 256.6 kB / 1.159 GB, free: 3.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.279, allocations: 358.1 kB / 1.16 GB, free: 2.902 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/1.288, allocations: 3.122 MB / 1.163 GB, free: 1.418 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/1.289, allocations: 0.9058 MB / 1.164 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001039/1.29, allocations: 117.8 kB / 1.164 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/1.29, allocations: 188.5 kB / 1.164 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of SimCode: time 1.462e-06/1.29, allocations: 1.125 kB / 1.164 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06385/1.354, allocations: 17.07 MB / 1.181 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004342/1.355, allocations: 271 kB / 1.181 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.566/4.92, allocations: 10.28 kB / 1.181 GB, free: 8.023 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)