Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.919/2.919, allocations: 287.5 MB / 302.4 MB, free: 8.367 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.001485/0.001484, allocations: 174.5 kB / 371 MB, free: 10.86 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.31/2.31, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009297/0.0009297, allocations: 91.75 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006916/0.000692, allocations: 11.41 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.255, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.9997/1.255, allocations: 155.4 MB / 1.13 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008922/1.264, allocations: 4.004 MB / 1.134 GB, free: 92 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/1.265, allocations: 17.66 kB / 1.134 GB, free: 84 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/1.267, allocations: 225.8 kB / 1.134 GB, free: 15.98 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.003811/1.27, allocations: 0.7382 MB / 1.135 GB, free: 15.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/1.274, allocations: 0.6042 MB / 1.136 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00328/1.277, allocations: 1.512 MB / 1.137 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/1.278, allocations: 358.3 kB / 1.137 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/1.28, allocations: 0.5591 MB / 1.138 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/1.282, allocations: 426.3 kB / 1.138 GB, free: 14.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002012/1.282, allocations: 24.09 kB / 1.138 GB, free: 14.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/1.285, allocations: 0.609 MB / 1.139 GB, free: 14.85 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005159/1.285, allocations: 182.1 kB / 1.139 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/1.286, allocations: 141.4 kB / 1.139 GB, free: 14.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/1.288, allocations: 0.7968 MB / 1.14 GB, free: 14.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.517e-06/1.288, allocations: 3.203 kB / 1.14 GB, free: 14.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.905e-06/1.288, allocations: 0 / 1.14 GB, free: 14.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.985e-05/1.288, allocations: 0 / 1.14 GB, free: 14.67 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002835/1.291, allocations: 0.8473 MB / 1.141 GB, free: 14.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/1.291, allocations: 10.5 kB / 1.141 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000323/1.291, allocations: 82.3 kB / 1.141 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/1.294, allocations: 282.3 kB / 1.141 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/1.296, allocations: 469.1 kB / 1.142 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006483/1.297, allocations: 99.45 kB / 1.142 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/1.297, allocations: 45.11 kB / 1.142 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/1.3, allocations: 0.6297 MB / 1.142 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/1.3, allocations: 10.36 kB / 1.142 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/1.3, allocations: 22.11 kB / 1.143 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-05/1.3, allocations: 21.94 kB / 1.143 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/1.303, allocations: 0.5819 MB / 1.143 GB, free: 13.59 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.007931/1.311, allocations: 2.297 MB / 1.145 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/1.313, allocations: 316.7 kB / 1.146 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/1.314, allocations: 184.5 kB / 1.146 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/1.314, allocations: 1.312 kB / 1.146 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/1.314, allocations: 37.34 kB / 1.146 GB, free: 12.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 5.01e-06/1.314, allocations: 1.219 kB / 1.146 GB, free: 12.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.01028/1.324, allocations: 1.19 MB / 1.147 GB, free: 11.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/1.325, allocations: 84.03 kB / 1.147 GB, free: 11.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.326, allocations: 0.5412 MB / 1.148 GB, free: 11.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.326, allocations: 31.14 kB / 1.148 GB, free: 11.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/1.326, allocations: 304.5 kB / 1.148 GB, free: 11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/1.326, allocations: 39.64 kB / 1.148 GB, free: 10.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/1.326, allocations: 4.812 kB / 1.148 GB, free: 10.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.327, allocations: 367 kB / 1.148 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/1.328, allocations: 205.6 kB / 1.149 GB, free: 10.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/1.329, allocations: 299.2 kB / 1.149 GB, free: 10.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.331, allocations: 217.7 kB / 1.149 GB, free: 10.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.331, allocations: 4 kB / 1.149 GB, free: 10.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.005474/1.336, allocations: 0.7788 MB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/1.336, allocations: 13.75 kB / 1.15 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.336, allocations: 2.625 kB / 1.15 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/1.337, allocations: 187.4 kB / 1.15 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/1.338, allocations: 80.03 kB / 1.15 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/1.346, allocations: 2.193 MB / 1.152 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.348, allocations: 97.02 kB / 1.152 GB, free: 8.441 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/1.348, allocations: 13.28 kB / 1.152 GB, free: 8.438 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 (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004967/1.348, allocations: 187.7 kB / 1.152 GB, free: 8.312 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/1.348, allocations: 52.86 kB / 1.153 GB, free: 8.285 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/1.349, allocations: 47 kB / 1.153 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.349, allocations: 1.344 kB / 1.153 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.349, allocations: 1.062 kB / 1.153 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/1.349, allocations: 3.984 kB / 1.153 GB, free: 8.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006035/1.355, allocations: 1.194 MB / 1.154 GB, free: 7.645 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/1.355, allocations: 7.969 kB / 1.154 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/1.355, allocations: 48.55 kB / 1.154 GB, free: 7.621 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/1.356, allocations: 187.5 kB / 1.154 GB, free: 7.562 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/1.356, allocations: 5.953 kB / 1.154 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006359/1.363, allocations: 2.062 MB / 1.156 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.363, allocations: 4.938 kB / 1.156 GB, free: 6.051 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/1.368, allocations: 0.756 MB / 1.157 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/1.369, allocations: 166 kB / 1.157 GB, free: 5.559 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/1.369, allocations: 8.797 kB / 1.157 GB, free: 5.555 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.37, allocations: 72.77 kB / 1.157 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.37, allocations: 12.39 kB / 1.157 GB, free: 5.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.681e-05/1.37, allocations: 12.33 kB / 1.157 GB, free: 5.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008305/1.371, allocations: 396.3 kB / 1.157 GB, free: 5.375 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.371, allocations: 0 / 1.157 GB, free: 5.375 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001292/1.373, allocations: 175.4 kB / 1.158 GB, free: 5.363 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 (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006001/1.379, allocations: 1.37 MB / 1.159 GB, free: 4.449 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004191/1.383, allocations: 0.6437 MB / 1.16 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.383, allocations: 1.531 kB / 1.16 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.384, allocations: 323.6 kB / 1.16 GB, free: 4.016 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.387, allocations: 291.8 kB / 1.16 GB, free: 3.922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.404, allocations: 3.541 MB / 1.164 GB, free: 2.344 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/1.405, allocations: 0.8594 MB / 1.164 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009687/1.406, allocations: 112.6 kB / 1.165 GB, free: 1.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/1.406, allocations: 160.9 kB / 1.165 GB, free: 1.496 MB / 0.698 GB Notification: Performance of SimCode: time 1.343e-06/1.406, allocations: 0 / 1.165 GB, free: 1.496 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/1.467, allocations: 15.96 MB / 1.18 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003626/1.467, allocations: 285.1 kB / 1.181 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.364/4.831, allocations: 2.656 kB / 1.181 GB, free: 9.418 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)