Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.00112/0.00112, allocations: 188.8 kB / 487.4 MB, free: 5.035 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.638/1.638, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008157/0.0008157, allocations: 95.78 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.485e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2651, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.624/5.889, allocations: 1.981 GB / 3.187 GB, free: 313.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/5.89, allocations: 84.95 kB / 3.187 GB, free: 313.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.765/7.654, allocations: 394.9 MB / 3.573 GB, free: 330.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.444e-06/7.654, allocations: 3.812 kB / 3.573 GB, free: 330.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.579e-05/7.654, allocations: 10.34 kB / 3.573 GB, free: 330.7 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.002491/7.657, allocations: 0.8739 MB / 3.574 GB, free: 330.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/7.657, allocations: 11.28 kB / 3.574 GB, free: 330.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/7.659, allocations: 266.6 kB / 3.574 GB, free: 330.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/7.66, allocations: 484.1 kB / 3.574 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/7.66, allocations: 86.58 kB / 3.574 GB, free: 329.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/7.66, allocations: 22.22 kB / 3.574 GB, free: 329.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007715/7.661, allocations: 384.9 kB / 3.575 GB, free: 329.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009078/7.662, allocations: 0.4895 MB / 3.575 GB, free: 329.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/7.662, allocations: 0 / 3.575 GB, free: 329.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/7.662, allocations: 7.203 kB / 3.575 GB, free: 329.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/7.662, allocations: 23.52 kB / 3.575 GB, free: 329.8 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.003818/7.666, allocations: 2.031 MB / 3.577 GB, free: 328.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/7.666, allocations: 148.5 kB / 3.577 GB, free: 328.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/7.666, allocations: 80.2 kB / 3.577 GB, free: 328.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/7.667, allocations: 0 / 3.577 GB, free: 328.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/7.667, allocations: 44.48 kB / 3.578 GB, free: 328.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/7.667, allocations: 0 / 3.578 GB, free: 328.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.001698/7.668, allocations: 426.7 kB / 3.578 GB, free: 328.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/7.668, allocations: 82.45 kB / 3.578 GB, free: 328.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/7.669, allocations: 347.3 kB / 3.578 GB, free: 328.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/7.669, allocations: 29.27 kB / 3.578 GB, free: 328.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/7.669, allocations: 306.8 kB / 3.579 GB, free: 328.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/7.669, allocations: 37.41 kB / 3.579 GB, free: 328.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/7.669, allocations: 3.438 kB / 3.579 GB, free: 328.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/7.669, allocations: 350 kB / 3.579 GB, free: 328.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/7.669, allocations: 102.9 kB / 3.579 GB, free: 328.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/7.669, allocations: 181.3 kB / 3.579 GB, free: 328 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/7.67, allocations: 132.3 kB / 3.579 GB, free: 328 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/7.67, allocations: 0 / 3.579 GB, free: 328 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001675/7.671, allocations: 0.5319 MB / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/7.671, allocations: 11.23 kB / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/7.671, allocations: 3.594 kB / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/7.672, allocations: 129.1 kB / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/7.672, allocations: 83.06 kB / 3.58 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/7.675, allocations: 1.742 MB / 3.582 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/7.675, allocations: 71.34 kB / 3.582 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/7.675, allocations: 14.34 kB / 3.582 GB, free: 326.7 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.0002024/7.675, allocations: 111.8 kB / 3.582 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001471/7.677, allocations: 420.5 kB / 3.582 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/7.677, allocations: 38 kB / 3.582 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.517e-05/7.677, allocations: 41.2 kB / 3.583 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/7.677, allocations: 3.438 kB / 3.583 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/7.677, allocations: 3.938 kB / 3.583 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/7.677, allocations: 3.953 kB / 3.583 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/7.679, allocations: 0.8941 MB / 3.583 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/7.679, allocations: 0 / 3.583 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/7.679, allocations: 49.03 kB / 3.583 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/7.68, allocations: 125.3 kB / 3.584 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/7.68, allocations: 3.25 kB / 3.584 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/7.682, allocations: 1.749 MB / 3.585 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/7.682, allocations: 0 / 3.585 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/7.683, allocations: 0.5417 MB / 3.586 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/7.684, allocations: 152.4 kB / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/7.684, allocations: 6.156 kB / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/7.684, allocations: 63.08 kB / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/7.684, allocations: 21.2 kB / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/7.684, allocations: 12.78 kB / 3.586 GB, free: 324.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003056/7.685, allocations: 267.4 kB / 3.586 GB, free: 324.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.71e-07/7.685, allocations: 0 / 3.586 GB, free: 324.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001219/7.686, allocations: 262.2 kB / 3.587 GB, free: 324.6 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.003781/7.69, allocations: 2.263 MB / 3.589 GB, free: 323.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007407/7.691, allocations: 352 kB / 3.589 GB, free: 323.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/7.691, allocations: 0 / 3.589 GB, free: 323.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/7.691, allocations: 202.3 kB / 3.589 GB, free: 323.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/7.692, allocations: 187.3 kB / 3.589 GB, free: 323.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/7.695, allocations: 0.8016 MB / 3.59 GB, free: 323.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/7.695, allocations: 0.8734 MB / 3.591 GB, free: 322.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004388/7.696, allocations: 85.62 kB / 3.591 GB, free: 322.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/7.696, allocations: 154.2 kB / 3.591 GB, free: 322.3 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/7.696, allocations: 0 / 3.591 GB, free: 322.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05387/7.75, allocations: 19.33 MB / 3.61 GB, free: 321.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/7.75, allocations: 197.5 kB / 3.61 GB, free: 321.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/10.55, allocations: 2.875 kB / 3.61 GB, free: 321.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat