Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.739/1.739, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001336/0.001336, allocations: 174.8 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001065/0.001065, allocations: 101.1 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004452, allocations: 11.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2543, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7738/1.028, allocations: 143 MB / 1.119 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007464/1.036, allocations: 4.091 MB / 1.123 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/1.037, allocations: 17.38 kB / 1.123 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/1.038, allocations: 321.1 kB / 1.123 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00365/1.042, allocations: 0.9842 MB / 1.124 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/1.045, allocations: 0.7666 MB / 1.125 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00188/1.046, allocations: 0.7551 MB / 1.126 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007306/1.047, allocations: 365 kB / 1.126 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/1.049, allocations: 0.5152 MB / 1.127 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/1.049, allocations: 293.8 kB / 1.127 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/1.049, allocations: 22.03 kB / 1.127 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/1.051, allocations: 0.6341 MB / 1.128 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/1.051, allocations: 162.5 kB / 1.128 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/1.051, allocations: 143.7 kB / 1.128 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/1.052, allocations: 0.7902 MB / 1.129 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.052, allocations: 6.781 kB / 1.129 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/1.052, allocations: 0 / 1.129 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.375e-05/1.052, allocations: 0 / 1.129 GB, free: 0.6797 MB / 0.6823 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.001628/1.054, allocations: 0.8389 MB / 1.13 GB, free: 16.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.054, allocations: 10.12 kB / 1.13 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/1.054, allocations: 86.03 kB / 1.13 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/1.056, allocations: 289.7 kB / 1.13 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/1.057, allocations: 467 kB / 1.13 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/1.057, allocations: 104.5 kB / 1.13 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/1.057, allocations: 40.06 kB / 1.131 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/1.058, allocations: 0.6284 MB / 1.131 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/1.059, allocations: 2.156 kB / 1.131 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/1.059, allocations: 24.17 kB / 1.131 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/1.059, allocations: 23.53 kB / 1.131 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/1.06, allocations: 0.5792 MB / 1.132 GB, free: 15.58 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.004405/1.064, allocations: 2.305 MB / 1.134 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/1.065, allocations: 306.2 kB / 1.134 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/1.066, allocations: 9.609 kB / 1.134 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.066, allocations: 39.5 kB / 1.134 GB, free: 13.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.956e-06/1.066, allocations: 0 / 1.134 GB, free: 13.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.005511/1.071, allocations: 1.193 MB / 1.135 GB, free: 13.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/1.071, allocations: 80.05 kB / 1.136 GB, free: 13.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/1.072, allocations: 0.5449 MB / 1.136 GB, free: 13.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/1.072, allocations: 28.77 kB / 1.136 GB, free: 13.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/1.072, allocations: 300 kB / 1.136 GB, free: 12.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/1.073, allocations: 37.55 kB / 1.136 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/1.073, allocations: 11.69 kB / 1.136 GB, free: 12.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.073, allocations: 355.1 kB / 1.137 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/1.073, allocations: 214.9 kB / 1.137 GB, free: 12.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/1.074, allocations: 295.7 kB / 1.137 GB, free: 12.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/1.075, allocations: 218.1 kB / 1.138 GB, free: 12.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.075, allocations: 0 / 1.138 GB, free: 12.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003008/1.078, allocations: 0.7835 MB / 1.138 GB, free: 12.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/1.078, allocations: 5.094 kB / 1.138 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.078, allocations: 11.23 kB / 1.138 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007295/1.079, allocations: 180.7 kB / 1.138 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/1.079, allocations: 81 kB / 1.139 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004641/1.084, allocations: 2.246 MB / 1.141 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/1.085, allocations: 98.62 kB / 1.141 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/1.085, allocations: 9.656 kB / 1.141 GB, free: 10.41 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.0003948/1.085, allocations: 191.7 kB / 1.141 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/1.085, allocations: 49.47 kB / 1.141 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/1.085, allocations: 56.55 kB / 1.141 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.085, allocations: 1.469 kB / 1.141 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/1.085, allocations: 0 / 1.141 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.085, allocations: 3.984 kB / 1.141 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/1.089, allocations: 1.192 MB / 1.142 GB, free: 9.609 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.089, allocations: 1.125 kB / 1.142 GB, free: 9.609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/1.089, allocations: 54.97 kB / 1.142 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005775/1.09, allocations: 183 kB / 1.143 GB, free: 9.535 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/1.09, allocations: 2.656 kB / 1.143 GB, free: 9.535 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/1.094, allocations: 2.108 MB / 1.145 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.094, allocations: 0.9688 kB / 1.145 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/1.096, allocations: 0.783 MB / 1.145 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/1.097, allocations: 170.4 kB / 1.145 GB, free: 7.492 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/1.097, allocations: 6.062 kB / 1.146 GB, free: 7.492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/1.098, allocations: 67.47 kB / 1.146 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/1.098, allocations: 13.95 kB / 1.146 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/1.098, allocations: 14.36 kB / 1.146 GB, free: 7.457 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00055/1.098, allocations: 388.7 kB / 1.146 GB, free: 7.316 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.61e-07/1.098, allocations: 5.344 kB / 1.146 GB, free: 7.312 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007927/1.099, allocations: 176.8 kB / 1.146 GB, free: 7.301 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.003637/1.103, allocations: 1.536 MB / 1.148 GB, free: 6.223 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00242/1.105, allocations: 0.6439 MB / 1.148 GB, free: 5.961 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.105, allocations: 6.844 kB / 1.148 GB, free: 5.957 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008269/1.106, allocations: 320.2 kB / 1.149 GB, free: 5.789 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.108, allocations: 296.2 kB / 1.149 GB, free: 5.691 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009991/1.118, allocations: 4.882 MB / 1.154 GB, free: 2.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/1.118, allocations: 0.8672 MB / 1.154 GB, free: 1.973 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006333/1.119, allocations: 103.5 kB / 1.155 GB, free: 1.926 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/1.119, allocations: 156.8 kB / 1.155 GB, free: 1.906 MB / 0.698 GB Notification: Performance of SimCode: time 1.684e-06/1.119, allocations: 1.094 kB / 1.155 GB, free: 1.906 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04036/1.16, allocations: 15.97 MB / 1.17 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/1.16, allocations: 278.8 kB / 1.171 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.689, allocations: 3.125 kB / 1.171 GB, free: 9.824 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)