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.285/2.285, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001033/0.001033, allocations: 180.7 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.001005/0.001005, allocations: 87.89 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.985e-05/5.004e-05, allocations: 5.797 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2882, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.376/5.664, allocations: 1.982 GB / 3.201 GB, free: 277.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/5.665, allocations: 86.77 kB / 3.201 GB, free: 277.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/7.195, allocations: 399.4 MB / 3.591 GB, free: 332.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.973e-06/7.195, allocations: 2.875 kB / 3.591 GB, free: 332.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.428e-05/7.195, allocations: 11.53 kB / 3.591 GB, free: 332.7 MB / 1.167 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.002166/7.197, allocations: 0.8753 MB / 3.592 GB, free: 332.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/7.197, allocations: 6.438 kB / 3.592 GB, free: 332.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/7.197, allocations: 84.8 kB / 3.592 GB, free: 332 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/7.199, allocations: 267 kB / 3.592 GB, free: 331.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000911/7.2, allocations: 477.4 kB / 3.593 GB, free: 331.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/7.2, allocations: 100.2 kB / 3.593 GB, free: 331.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/7.2, allocations: 38.94 kB / 3.593 GB, free: 331.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008489/7.201, allocations: 0.5526 MB / 3.594 GB, free: 331.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/7.201, allocations: 0 / 3.594 GB, free: 331.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/7.201, allocations: 19.41 kB / 3.594 GB, free: 331.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/7.201, allocations: 21.72 kB / 3.594 GB, free: 331.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/7.202, allocations: 413.8 kB / 3.594 GB, free: 330.9 MB / 1.167 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.003118/7.205, allocations: 2.155 MB / 3.596 GB, free: 329.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/7.205, allocations: 145.6 kB / 3.596 GB, free: 329.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/7.205, allocations: 93.45 kB / 3.596 GB, free: 329.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/7.205, allocations: 2.734 kB / 3.596 GB, free: 329.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/7.205, allocations: 38.12 kB / 3.596 GB, free: 329 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 2.524e-06/7.205, allocations: 6.781 kB / 3.596 GB, free: 329 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.001652/7.207, allocations: 439.9 kB / 3.597 GB, free: 328.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/7.207, allocations: 77.11 kB / 3.597 GB, free: 328.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/7.208, allocations: 498.2 kB / 3.597 GB, free: 328.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/7.208, allocations: 29.67 kB / 3.597 GB, free: 328.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/7.208, allocations: 297 kB / 3.598 GB, free: 328.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/7.208, allocations: 45.61 kB / 3.598 GB, free: 328.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/7.208, allocations: 4 kB / 3.598 GB, free: 328.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/7.208, allocations: 354.5 kB / 3.598 GB, free: 327.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/7.208, allocations: 108.4 kB / 3.598 GB, free: 327.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/7.208, allocations: 186.7 kB / 3.598 GB, free: 327.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/7.209, allocations: 120.1 kB / 3.598 GB, free: 327.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/7.209, allocations: 0 / 3.598 GB, free: 327.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001573/7.21, allocations: 0.558 MB / 3.599 GB, free: 327.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/7.21, allocations: 4.219 kB / 3.599 GB, free: 327.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/7.21, allocations: 6.281 kB / 3.599 GB, free: 327.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/7.211, allocations: 137.8 kB / 3.599 GB, free: 327.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/7.211, allocations: 74 kB / 3.599 GB, free: 327.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/7.214, allocations: 1.935 MB / 3.601 GB, free: 325.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/7.214, allocations: 95.81 kB / 3.601 GB, free: 325.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/7.214, allocations: 11.09 kB / 3.601 GB, free: 325.4 MB / 1.167 GB 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.0001288/7.215, allocations: 128 kB / 3.601 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/7.215, allocations: 53.03 kB / 3.601 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/7.215, allocations: 43.02 kB / 3.601 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/7.215, allocations: 7.766 kB / 3.601 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/7.215, allocations: 0 / 3.601 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/7.215, allocations: 0 / 3.601 GB, free: 325.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/7.217, allocations: 0.9565 MB / 3.602 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/7.217, allocations: 0 / 3.602 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/7.217, allocations: 42.59 kB / 3.602 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/7.217, allocations: 131.3 kB / 3.603 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/7.217, allocations: 4 kB / 3.603 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/7.219, allocations: 1.808 MB / 3.604 GB, free: 322.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/7.219, allocations: 0 / 3.604 GB, free: 322.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/7.221, allocations: 0.5566 MB / 3.605 GB, free: 322.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/7.221, allocations: 172.1 kB / 3.605 GB, free: 322.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/7.221, allocations: 0 / 3.605 GB, free: 322.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/7.222, allocations: 65.5 kB / 3.605 GB, free: 322.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/7.222, allocations: 9.234 kB / 3.605 GB, free: 322.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/7.222, allocations: 16.33 kB / 3.605 GB, free: 322.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004993/7.222, allocations: 387.6 kB / 3.605 GB, free: 322.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/7.222, allocations: 4 kB / 3.605 GB, free: 322.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001266/7.224, allocations: 266 kB / 3.606 GB, free: 322 MB / 1.167 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.003304/7.227, allocations: 2.145 MB / 3.608 GB, free: 320.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001216/7.228, allocations: 453.6 kB / 3.608 GB, free: 320.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/7.228, allocations: 0 / 3.608 GB, free: 320.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/7.229, allocations: 218 kB / 3.608 GB, free: 320.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/7.23, allocations: 290.2 kB / 3.609 GB, free: 320 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/7.233, allocations: 0.8503 MB / 3.61 GB, free: 319.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/7.233, allocations: 0.8749 MB / 3.61 GB, free: 318.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004577/7.234, allocations: 108.4 kB / 3.611 GB, free: 318.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/7.234, allocations: 158.2 kB / 3.611 GB, free: 318.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.11e-07/7.234, allocations: 0 / 3.611 GB, free: 318.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05382/7.288, allocations: 33.77 MB / 3.644 GB, free: 294.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/7.288, allocations: 254.3 kB / 3.644 GB, free: 293.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/10.5, allocations: 4 kB / 3.644 GB, free: 293.7 MB / 1.167 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