Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.354/2.354, allocations: 390.5 MB / 398 MB, free: 10.93 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.0009912/0.0009912, allocations: 183.8 kB / 491.2 MB, free: 1.609 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.546/1.546, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001069/0.001069, allocations: 99.89 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.537e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2978, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.364/5.662, allocations: 1.982 GB / 3.194 GB, free: 345.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/5.662, allocations: 87.95 kB / 3.194 GB, free: 345.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5179/6.18, allocations: 268.7 MB / 3.457 GB, free: 71.22 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.994e-06/6.18, allocations: 0 / 3.457 GB, free: 71.22 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.583e-05/6.18, allocations: 12 kB / 3.457 GB, free: 71.21 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002407/6.182, allocations: 0.9018 MB / 3.458 GB, free: 70.26 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/6.182, allocations: 8.031 kB / 3.458 GB, free: 70.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/6.184, allocations: 163 kB / 3.458 GB, free: 70.09 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/6.186, allocations: 0.5354 MB / 3.458 GB, free: 69.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/6.186, allocations: 20 kB / 3.458 GB, free: 69.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/6.186, allocations: 31.98 kB / 3.458 GB, free: 69.47 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001101/6.187, allocations: 442.5 kB / 3.459 GB, free: 69.04 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/6.188, allocations: 0.537 MB / 3.459 GB, free: 68.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/6.188, allocations: 0 / 3.459 GB, free: 68.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/6.188, allocations: 0 / 3.459 GB, free: 68.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/6.188, allocations: 25.25 kB / 3.459 GB, free: 68.46 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.003699/6.192, allocations: 2.104 MB / 3.461 GB, free: 66.21 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/6.192, allocations: 215.2 kB / 3.462 GB, free: 65.99 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/6.193, allocations: 108.8 kB / 3.462 GB, free: 65.88 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/6.193, allocations: 7.984 kB / 3.462 GB, free: 65.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/6.193, allocations: 42.56 kB / 3.462 GB, free: 65.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/6.193, allocations: 0 / 3.462 GB, free: 65.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0008399/6.193, allocations: 299.7 kB / 3.462 GB, free: 65.52 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/6.194, allocations: 85.06 kB / 3.462 GB, free: 65.42 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/6.194, allocations: 369.1 kB / 3.462 GB, free: 65.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/6.194, allocations: 29.7 kB / 3.462 GB, free: 65.02 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/6.194, allocations: 342.8 kB / 3.463 GB, free: 64.68 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/6.194, allocations: 70.95 kB / 3.463 GB, free: 64.61 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/6.194, allocations: 0 / 3.463 GB, free: 64.61 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.851e-05/6.194, allocations: 354.7 kB / 3.463 GB, free: 64.25 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/6.195, allocations: 104.6 kB / 3.463 GB, free: 64.15 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/6.195, allocations: 199.8 kB / 3.463 GB, free: 63.92 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/6.195, allocations: 139.9 kB / 3.464 GB, free: 63.78 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/6.195, allocations: 0 / 3.464 GB, free: 63.78 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000708/6.196, allocations: 431.3 kB / 3.464 GB, free: 63.35 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/6.196, allocations: 8 kB / 3.464 GB, free: 63.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/6.196, allocations: 0 / 3.464 GB, free: 63.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/6.196, allocations: 85.66 kB / 3.464 GB, free: 63.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/6.196, allocations: 67.91 kB / 3.464 GB, free: 63.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/6.198, allocations: 2.849 MB / 3.467 GB, free: 60.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/6.199, allocations: 51.72 kB / 3.467 GB, free: 60.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/6.199, allocations: 12 kB / 3.467 GB, free: 60.04 MB / 1.151 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001247/6.199, allocations: 112.9 kB / 3.467 GB, free: 59.93 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005438/6.2, allocations: 303.5 kB / 3.467 GB, free: 59.62 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/6.2, allocations: 43.48 kB / 3.467 GB, free: 59.57 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.246e-05/6.2, allocations: 47.53 kB / 3.468 GB, free: 59.53 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/6.2, allocations: 3.984 kB / 3.468 GB, free: 59.52 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/6.2, allocations: 0 / 3.468 GB, free: 59.52 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004455/6.2, allocations: 493.1 kB / 3.468 GB, free: 58.97 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/6.201, allocations: 0.8065 MB / 3.469 GB, free: 58.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/6.201, allocations: 4 kB / 3.469 GB, free: 58.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/6.202, allocations: 35.98 kB / 3.469 GB, free: 58.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/6.202, allocations: 60.88 kB / 3.469 GB, free: 58.01 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/6.202, allocations: 4 kB / 3.469 GB, free: 58.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/6.203, allocations: 1.553 MB / 3.47 GB, free: 56.34 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/6.203, allocations: 0 / 3.47 GB, free: 56.34 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/6.204, allocations: 427.8 kB / 3.471 GB, free: 55.88 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/6.204, allocations: 156.4 kB / 3.471 GB, free: 55.71 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/6.204, allocations: 4 kB / 3.471 GB, free: 55.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/6.204, allocations: 31.92 kB / 3.471 GB, free: 55.68 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/6.204, allocations: 15.97 kB / 3.471 GB, free: 55.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/6.204, allocations: 16 kB / 3.471 GB, free: 55.64 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002786/6.205, allocations: 282.9 kB / 3.471 GB, free: 55.37 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.11e-07/6.205, allocations: 0 / 3.471 GB, free: 55.37 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001069/6.206, allocations: 279.4 kB / 3.472 GB, free: 55.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 (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002184/6.208, allocations: 2.051 MB / 3.474 GB, free: 53.02 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006876/6.209, allocations: 475.2 kB / 3.474 GB, free: 52.53 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/6.209, allocations: 4 kB / 3.474 GB, free: 52.53 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/6.209, allocations: 217.7 kB / 3.474 GB, free: 52.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/6.21, allocations: 253.1 kB / 3.474 GB, free: 52.06 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/6.212, allocations: 0.7618 MB / 3.475 GB, free: 51.25 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/6.212, allocations: 0.9245 MB / 3.476 GB, free: 50.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004309/6.213, allocations: 88.12 kB / 3.476 GB, free: 50.21 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/6.213, allocations: 183.4 kB / 3.476 GB, free: 50.04 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/6.213, allocations: 0 / 3.476 GB, free: 50.04 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/6.257, allocations: 20.19 MB / 3.496 GB, free: 29.97 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/6.257, allocations: 197.6 kB / 3.496 GB, free: 29.77 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/8.976, allocations: 4 kB / 3.496 GB, free: 29.77 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat does not exist to compare? outputFormat=mat