Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 252 MB / 267.3 MB, free: 10.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.00131, allocations: 176.4 kB / 327 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 87.73 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 15.55 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.238, allocations: 106.3 MB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7986/1.037, allocations: 166.7 MB / 1.064 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007846/1.045, allocations: 4.355 MB / 1.068 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/1.046, allocations: 14.75 kB / 1.068 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/1.047, allocations: 311.4 kB / 1.068 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003924/1.051, allocations: 1.032 MB / 1.069 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/1.054, allocations: 0.7532 MB / 1.07 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003548/1.058, allocations: 1.926 MB / 1.072 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/1.059, allocations: 419.8 kB / 1.072 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/1.061, allocations: 0.5583 MB / 1.073 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/1.064, allocations: 490.1 kB / 1.073 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003056/1.064, allocations: 23.31 kB / 1.073 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/1.067, allocations: 1.003 MB / 1.074 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006353/1.068, allocations: 203.7 kB / 1.075 GB, free: 1.766 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/1.07, allocations: 337.6 kB / 1.075 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004412/1.074, allocations: 1.166 MB / 1.076 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.074, allocations: 0 / 1.076 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.817e-06/1.074, allocations: 0.625 kB / 1.076 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.431e-05/1.074, allocations: 0 / 1.076 GB, free: 17.66 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003357/1.078, allocations: 0.8522 MB / 1.077 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.278e-05/1.078, allocations: 9.281 kB / 1.077 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000395/1.078, allocations: 85.83 kB / 1.077 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/1.08, allocations: 279.7 kB / 1.077 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/1.082, allocations: 487.3 kB / 1.078 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/1.082, allocations: 99.27 kB / 1.078 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/1.083, allocations: 43.2 kB / 1.078 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/1.085, allocations: 0.6522 MB / 1.078 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/1.085, allocations: 0 / 1.078 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.085, allocations: 28.62 kB / 1.078 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.684e-05/1.085, allocations: 24.72 kB / 1.078 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/1.087, allocations: 0.5816 MB / 1.079 GB, free: 16.6 MB / 0.7136 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.005551/1.092, allocations: 2.328 MB / 1.081 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/1.094, allocations: 310.6 kB / 1.082 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/1.094, allocations: 192.2 kB / 1.082 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/1.094, allocations: 1.25 kB / 1.082 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/1.094, allocations: 38.98 kB / 1.082 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.545e-06/1.094, allocations: 0 / 1.082 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.005596/1.1, allocations: 1.189 MB / 1.083 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/1.1, allocations: 81.48 kB / 1.083 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.101, allocations: 0.563 MB / 1.084 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.776e-05/1.101, allocations: 32.3 kB / 1.084 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/1.102, allocations: 301.2 kB / 1.084 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/1.102, allocations: 39.77 kB / 1.084 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/1.102, allocations: 3.562 kB / 1.084 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002174/1.102, allocations: 362.4 kB / 1.084 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/1.103, allocations: 205 kB / 1.084 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/1.103, allocations: 300.4 kB / 1.085 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/1.105, allocations: 464.1 kB / 1.085 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.105, allocations: 4.906 kB / 1.085 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002928/1.108, allocations: 0.7769 MB / 1.086 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.108, allocations: 5.969 kB / 1.086 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.108, allocations: 2.781 kB / 1.086 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007032/1.108, allocations: 195 kB / 1.086 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/1.109, allocations: 87.03 kB / 1.086 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/1.113, allocations: 2.097 MB / 1.088 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/1.114, allocations: 92.44 kB / 1.088 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/1.114, allocations: 11.11 kB / 1.088 GB, free: 12.79 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004572/1.114, allocations: 201.5 kB / 1.089 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/1.114, allocations: 56.95 kB / 1.089 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/1.115, allocations: 52.45 kB / 1.089 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.115, allocations: 1.906 kB / 1.089 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.115, allocations: 0 / 1.089 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.115, allocations: 1.156 kB / 1.089 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/1.118, allocations: 1.194 MB / 1.09 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.118, allocations: 2.812 kB / 1.09 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/1.118, allocations: 48.61 kB / 1.09 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/1.119, allocations: 195.8 kB / 1.09 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/1.119, allocations: 5.797 kB / 1.09 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003735/1.123, allocations: 2.049 MB / 1.092 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.123, allocations: 0 / 1.092 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/1.125, allocations: 0.7566 MB / 1.093 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/1.126, allocations: 177 kB / 1.093 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/1.126, allocations: 7.281 kB / 1.093 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008433/1.127, allocations: 71.31 kB / 1.093 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/1.127, allocations: 16.14 kB / 1.093 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/1.127, allocations: 14.47 kB / 1.093 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006677/1.128, allocations: 408.3 kB / 1.094 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.128, allocations: 2.906 kB / 1.094 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000983/1.129, allocations: 171.5 kB / 1.094 GB, free: 10.51 MB / 0.7136 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 (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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00356/1.133, allocations: 1.366 MB / 1.095 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001824/1.134, allocations: 0.5657 MB / 1.096 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.134, allocations: 0 / 1.096 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008393/1.135, allocations: 317.2 kB / 1.096 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.137, allocations: 295.8 kB / 1.096 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/1.151, allocations: 5.543 MB / 1.102 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/1.152, allocations: 0.8687 MB / 1.102 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007461/1.153, allocations: 114.4 kB / 1.103 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/1.153, allocations: 167.3 kB / 1.103 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of SimCode: time 1.412e-06/1.153, allocations: 4 kB / 1.103 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.043/1.196, allocations: 16.16 MB / 1.118 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/1.197, allocations: 314.3 kB / 1.119 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/4.19, allocations: 0 / 1.119 GB, free: 1.613 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)