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.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009875/0.0009877, allocations: 176.8 kB / 316.3 MB, free: 3.25 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.516/1.516, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008938/0.0008938, allocations: 78.61 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.762e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2252, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.487/6.712, allocations: 2.189 GB / 3.075 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/6.713, allocations: 86.7 kB / 3.075 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.401/8.114, allocations: 375.4 MB / 3.442 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.322e-06/8.114, allocations: 4 kB / 3.442 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.619e-05/8.114, allocations: 15.98 kB / 3.442 GB, free: 147.4 MB / 0.8698 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.001637/8.116, allocations: 0.8844 MB / 3.442 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/8.116, allocations: 12.03 kB / 3.442 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/8.117, allocations: 251 kB / 3.443 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/8.118, allocations: 492.4 kB / 3.443 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/8.118, allocations: 85.23 kB / 3.443 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/8.118, allocations: 24 kB / 3.443 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006219/8.119, allocations: 386.5 kB / 3.444 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/8.12, allocations: 0.4934 MB / 3.444 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/8.12, allocations: 4 kB / 3.444 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/8.12, allocations: 4 kB / 3.444 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/8.12, allocations: 17.31 kB / 3.444 GB, free: 144.6 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.002975/8.123, allocations: 2.051 MB / 3.446 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/8.123, allocations: 142.5 kB / 3.446 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/8.123, allocations: 80.83 kB / 3.446 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/8.123, allocations: 0 / 3.446 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/8.123, allocations: 42.52 kB / 3.446 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/8.123, allocations: 4 kB / 3.446 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001524/8.125, allocations: 409.8 kB / 3.447 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/8.125, allocations: 81.11 kB / 3.447 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/8.125, allocations: 353.4 kB / 3.447 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/8.125, allocations: 25.7 kB / 3.447 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/8.125, allocations: 319.1 kB / 3.447 GB, free: 141 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/8.125, allocations: 43.33 kB / 3.448 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/8.125, allocations: 0 / 3.448 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/8.125, allocations: 350.8 kB / 3.448 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/8.126, allocations: 99.95 kB / 3.448 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/8.126, allocations: 196 kB / 3.448 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/8.126, allocations: 127.9 kB / 3.448 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/8.126, allocations: 0 / 3.448 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001469/8.127, allocations: 0.5228 MB / 3.449 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/8.128, allocations: 4 kB / 3.449 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/8.128, allocations: 7.938 kB / 3.449 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003519/8.128, allocations: 136.8 kB / 3.449 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/8.128, allocations: 79.89 kB / 3.449 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/8.13, allocations: 1.729 MB / 3.451 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/8.131, allocations: 79.94 kB / 3.451 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/8.131, allocations: 16 kB / 3.451 GB, free: 137.4 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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.000166/8.131, allocations: 117.5 kB / 3.451 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001455/8.132, allocations: 429.6 kB / 3.451 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/8.132, allocations: 39.53 kB / 3.451 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/8.133, allocations: 39.39 kB / 3.451 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/8.133, allocations: 0 / 3.451 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/8.133, allocations: 0 / 3.451 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/8.133, allocations: 8 kB / 3.451 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/8.134, allocations: 0.8841 MB / 3.452 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/8.134, allocations: 4 kB / 3.452 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/8.135, allocations: 47.89 kB / 3.452 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/8.135, allocations: 128.8 kB / 3.452 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/8.135, allocations: 7.984 kB / 3.452 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/8.137, allocations: 1.721 MB / 3.454 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/8.137, allocations: 0 / 3.454 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/8.138, allocations: 0.5514 MB / 3.455 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/8.139, allocations: 160.5 kB / 3.455 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/8.139, allocations: 4 kB / 3.455 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/8.139, allocations: 63.94 kB / 3.455 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/8.139, allocations: 7.984 kB / 3.455 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/8.139, allocations: 15.98 kB / 3.455 GB, free: 133 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002776/8.14, allocations: 271 kB / 3.455 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.14, allocations: 0 / 3.455 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009153/8.14, allocations: 243.4 kB / 3.455 GB, free: 132.5 MB / 0.8698 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 () * 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.002885/8.143, allocations: 2.255 MB / 3.458 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006134/8.144, allocations: 349.4 kB / 3.458 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/8.144, allocations: 0 / 3.458 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/8.144, allocations: 210.5 kB / 3.458 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/8.145, allocations: 185.6 kB / 3.458 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/8.149, allocations: 0.82 MB / 3.459 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/8.149, allocations: 0.8855 MB / 3.46 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005293/8.15, allocations: 79.22 kB / 3.46 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/8.15, allocations: 158.8 kB / 3.46 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.163e-06/8.15, allocations: 0 / 3.46 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04394/8.194, allocations: 19.4 MB / 3.479 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/8.194, allocations: 203 kB / 3.479 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/10.8, allocations: 2.969 kB / 3.479 GB, free: 107.8 MB / 0.8698 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)