Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.298/2.298, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 175.6 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 221.5 MB / 0.7868 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 95.12 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.208e-05, allocations: 5.484 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3119, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.293/5.605, allocations: 1.982 GB / 3.194 GB, free: 345.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/5.605, allocations: 84.48 kB / 3.194 GB, free: 345.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.523/7.128, allocations: 394.9 MB / 3.58 GB, free: 329.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.064e-06/7.128, allocations: 3.938 kB / 3.58 GB, free: 329.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.383e-05/7.128, allocations: 11.81 kB / 3.58 GB, free: 329.2 MB / 1.151 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.002099/7.131, allocations: 0.877 MB / 3.581 GB, free: 328.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/7.131, allocations: 10.91 kB / 3.581 GB, free: 328.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/7.132, allocations: 264.1 kB / 3.581 GB, free: 328.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/7.133, allocations: 482.2 kB / 3.581 GB, free: 328.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/7.134, allocations: 85.11 kB / 3.582 GB, free: 328.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/7.134, allocations: 27.91 kB / 3.582 GB, free: 328.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007239/7.135, allocations: 382.8 kB / 3.582 GB, free: 328.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008239/7.136, allocations: 0.4895 MB / 3.582 GB, free: 328.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/7.136, allocations: 0 / 3.582 GB, free: 328.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/7.136, allocations: 2.875 kB / 3.582 GB, free: 328.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/7.136, allocations: 23.27 kB / 3.582 GB, free: 328.3 MB / 1.151 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.003503/7.139, allocations: 2.029 MB / 3.584 GB, free: 327.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/7.139, allocations: 149.2 kB / 3.585 GB, free: 327.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/7.14, allocations: 84.81 kB / 3.585 GB, free: 327.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/7.14, allocations: 14.11 kB / 3.585 GB, free: 327.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/7.14, allocations: 30.56 kB / 3.585 GB, free: 327.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/7.14, allocations: 0 / 3.585 GB, free: 327.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.001777/7.141, allocations: 424.3 kB / 3.585 GB, free: 327.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/7.141, allocations: 80.64 kB / 3.585 GB, free: 327.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/7.142, allocations: 356.3 kB / 3.585 GB, free: 327.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/7.142, allocations: 25.7 kB / 3.586 GB, free: 327.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/7.142, allocations: 306.6 kB / 3.586 GB, free: 326.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/7.142, allocations: 43 kB / 3.586 GB, free: 326.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/7.142, allocations: 0 / 3.586 GB, free: 326.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/7.142, allocations: 350.8 kB / 3.586 GB, free: 326.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/7.142, allocations: 101.2 kB / 3.586 GB, free: 326.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/7.143, allocations: 179.6 kB / 3.586 GB, free: 326.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/7.143, allocations: 129.8 kB / 3.587 GB, free: 326.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/7.143, allocations: 0 / 3.587 GB, free: 326.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00161/7.144, allocations: 0.5346 MB / 3.587 GB, free: 326.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/7.144, allocations: 8.281 kB / 3.587 GB, free: 326.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/7.144, allocations: 0 / 3.587 GB, free: 326.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/7.145, allocations: 135.7 kB / 3.587 GB, free: 326.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/7.145, allocations: 78.44 kB / 3.587 GB, free: 326.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/7.147, allocations: 1.737 MB / 3.589 GB, free: 325.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/7.148, allocations: 76.03 kB / 3.589 GB, free: 325.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/7.148, allocations: 10.5 kB / 3.589 GB, free: 325.2 MB / 1.151 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.0001994/7.148, allocations: 116.3 kB / 3.589 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001431/7.15, allocations: 434.2 kB / 3.59 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/7.15, allocations: 37.78 kB / 3.59 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.231e-05/7.15, allocations: 37.61 kB / 3.59 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/7.15, allocations: 2.5 kB / 3.59 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/7.15, allocations: 3.953 kB / 3.59 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/7.15, allocations: 3.562 kB / 3.59 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/7.152, allocations: 0.8774 MB / 3.591 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/7.152, allocations: 2.656 kB / 3.591 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/7.152, allocations: 47.33 kB / 3.591 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/7.152, allocations: 131.9 kB / 3.591 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/7.152, allocations: 2.125 kB / 3.591 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/7.154, allocations: 1.743 MB / 3.592 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/7.154, allocations: 0 / 3.592 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/7.156, allocations: 0.5488 MB / 3.593 GB, free: 323.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/7.156, allocations: 150.8 kB / 3.593 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/7.156, allocations: 0 / 3.593 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005714/7.156, allocations: 68.41 kB / 3.593 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/7.157, allocations: 10.16 kB / 3.593 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/7.157, allocations: 17.14 kB / 3.593 GB, free: 323.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000256/7.157, allocations: 270.5 kB / 3.593 GB, free: 323.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/7.157, allocations: 0 / 3.593 GB, free: 323.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009804/7.158, allocations: 263.1 kB / 3.594 GB, free: 323.1 MB / 1.151 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.002988/7.161, allocations: 2.269 MB / 3.596 GB, free: 322.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006023/7.161, allocations: 348.3 kB / 3.596 GB, free: 322 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/7.161, allocations: 0.9375 kB / 3.596 GB, free: 322 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/7.162, allocations: 206.6 kB / 3.596 GB, free: 321.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/7.163, allocations: 181 kB / 3.597 GB, free: 321.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/7.165, allocations: 0.8055 MB / 3.597 GB, free: 321.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/7.166, allocations: 0.8723 MB / 3.598 GB, free: 320.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003883/7.166, allocations: 83.33 kB / 3.598 GB, free: 320.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/7.166, allocations: 152 kB / 3.598 GB, free: 320.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.1e-07/7.166, allocations: 0 / 3.598 GB, free: 320.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/7.211, allocations: 19.34 MB / 3.617 GB, free: 320.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/7.211, allocations: 214.9 kB / 3.618 GB, free: 319.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/9.77, allocations: 0 / 3.618 GB, free: 319.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat