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.678/2.678, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001528/0.001528, allocations: 184.8 kB / 360.6 MB, free: 7.273 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.184/2.184, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 99.86 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.66e-05, allocations: 4 kB / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8137/0.8138, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.358/7.172, allocations: 2.07 GB / 3.034 GB, free: 46.51 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/7.172, allocations: 82.7 kB / 3.034 GB, free: 46.46 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.938/9.11, allocations: 385.7 MB / 3.41 GB, free: 50.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/9.11, allocations: 192 / 3.41 GB, free: 50.46 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.315e-05/9.11, allocations: 15.94 kB / 3.41 GB, free: 50.45 MB / 0.948 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.002269/9.112, allocations: 0.8747 MB / 3.411 GB, free: 49.53 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/9.112, allocations: 8.031 kB / 3.411 GB, free: 49.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/9.115, allocations: 267 kB / 3.412 GB, free: 49.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/9.117, allocations: 484.5 kB / 3.412 GB, free: 48.74 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005846/9.117, allocations: 81.25 kB / 3.412 GB, free: 48.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/9.117, allocations: 27.95 kB / 3.412 GB, free: 48.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001061/9.118, allocations: 390.4 kB / 3.413 GB, free: 48.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/9.12, allocations: 494.9 kB / 3.413 GB, free: 47.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/9.12, allocations: 3.938 kB / 3.413 GB, free: 47.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/9.12, allocations: 0 / 3.413 GB, free: 47.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/9.12, allocations: 17.31 kB / 3.413 GB, free: 47.71 MB / 0.948 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.005242/9.125, allocations: 2.046 MB / 3.415 GB, free: 45.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/9.125, allocations: 146.5 kB / 3.415 GB, free: 45.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/9.126, allocations: 80.83 kB / 3.415 GB, free: 45.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/9.126, allocations: 3.984 kB / 3.415 GB, free: 45.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/9.126, allocations: 38.56 kB / 3.415 GB, free: 45.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 3.697e-06/9.126, allocations: 4 kB / 3.415 GB, free: 45.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.002858/9.129, allocations: 425.8 kB / 3.416 GB, free: 44.85 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/9.129, allocations: 81.11 kB / 3.416 GB, free: 44.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/9.129, allocations: 349.1 kB / 3.416 GB, free: 44.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/9.129, allocations: 33.69 kB / 3.416 GB, free: 44.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/9.13, allocations: 299.3 kB / 3.416 GB, free: 44.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/9.13, allocations: 39.39 kB / 3.416 GB, free: 44.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/9.13, allocations: 0 / 3.416 GB, free: 44.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/9.13, allocations: 350.8 kB / 3.417 GB, free: 43.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/9.13, allocations: 104 kB / 3.417 GB, free: 43.58 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/9.13, allocations: 182.4 kB / 3.417 GB, free: 43.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/9.131, allocations: 129.8 kB / 3.417 GB, free: 43.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/9.131, allocations: 4 kB / 3.417 GB, free: 43.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002899/9.134, allocations: 0.5254 MB / 3.418 GB, free: 42.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/9.134, allocations: 7.984 kB / 3.418 GB, free: 42.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/9.134, allocations: 4 kB / 3.418 GB, free: 42.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/9.134, allocations: 136.8 kB / 3.418 GB, free: 42.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/9.135, allocations: 75.89 kB / 3.418 GB, free: 42.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/9.138, allocations: 1.752 MB / 3.42 GB, free: 40.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/9.139, allocations: 67.77 kB / 3.42 GB, free: 40.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/9.139, allocations: 12 kB / 3.42 GB, free: 40.53 MB / 0.948 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: 10 * 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.00022/9.14, allocations: 124.6 kB / 3.42 GB, free: 40.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0026/9.142, allocations: 421.7 kB / 3.42 GB, free: 39.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/9.142, allocations: 39.58 kB / 3.42 GB, free: 39.94 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/9.143, allocations: 35.34 kB / 3.42 GB, free: 39.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/9.143, allocations: 7.938 kB / 3.42 GB, free: 39.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/9.143, allocations: 0 / 3.42 GB, free: 39.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/9.143, allocations: 0 / 3.42 GB, free: 39.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/9.146, allocations: 0.8914 MB / 3.421 GB, free: 38.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/9.146, allocations: 3.938 kB / 3.421 GB, free: 38.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/9.146, allocations: 48.02 kB / 3.421 GB, free: 38.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/9.147, allocations: 132.8 kB / 3.421 GB, free: 38.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/9.147, allocations: 0 / 3.421 GB, free: 38.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/9.15, allocations: 1.744 MB / 3.423 GB, free: 36.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/9.15, allocations: 0 / 3.423 GB, free: 36.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/9.153, allocations: 0.5478 MB / 3.424 GB, free: 36.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/9.153, allocations: 148.6 kB / 3.424 GB, free: 36.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/9.153, allocations: 4 kB / 3.424 GB, free: 36.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000964/9.154, allocations: 63.92 kB / 3.424 GB, free: 36.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/9.154, allocations: 19.88 kB / 3.424 GB, free: 36.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/9.154, allocations: 15.98 kB / 3.424 GB, free: 36.06 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003767/9.155, allocations: 267 kB / 3.424 GB, free: 35.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.1e-07/9.155, allocations: 0 / 3.424 GB, free: 35.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001316/9.156, allocations: 263.5 kB / 3.424 GB, free: 35.54 MB / 0.948 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.004618/9.161, allocations: 2.249 MB / 3.427 GB, free: 33.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009178/9.162, allocations: 337.6 kB / 3.427 GB, free: 32.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/9.162, allocations: 7.938 kB / 3.427 GB, free: 32.92 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/9.162, allocations: 205.6 kB / 3.427 GB, free: 32.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/9.164, allocations: 181.3 kB / 3.427 GB, free: 32.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/9.168, allocations: 0.8082 MB / 3.428 GB, free: 31.67 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/9.168, allocations: 0.8737 MB / 3.429 GB, free: 30.77 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005932/9.169, allocations: 83.23 kB / 3.429 GB, free: 30.69 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/9.169, allocations: 155.4 kB / 3.429 GB, free: 30.54 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/9.169, allocations: 0 / 3.429 GB, free: 30.54 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06945/9.238, allocations: 19.3 MB / 3.448 GB, free: 11.32 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/9.239, allocations: 199.4 kB / 3.448 GB, free: 11.05 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.395/12.63, allocations: 6.469 kB / 3.448 GB, free: 11.05 MB / 0.948 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)