Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.148/2.148, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001049/0.001049, allocations: 184.1 kB / 492.3 MB, free: 0.6406 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.54/1.54, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001001/0.001001, allocations: 95.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/2.997e-05, allocations: 6.188 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3163, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.126/6.442, allocations: 1.982 GB / 3.194 GB, free: 291.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/6.443, allocations: 84.11 kB / 3.194 GB, free: 291.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5429/6.986, allocations: 271.9 MB / 3.46 GB, free: 28.53 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/6.986, allocations: 3.938 kB / 3.46 GB, free: 28.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.929e-05/6.986, allocations: 20 kB / 3.46 GB, free: 28.5 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.002995/6.989, allocations: 0.9087 MB / 3.461 GB, free: 27.55 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/6.989, allocations: 12.03 kB / 3.461 GB, free: 27.54 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002915/6.989, allocations: 94.52 kB / 3.461 GB, free: 27.44 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/6.991, allocations: 155 kB / 3.461 GB, free: 27.29 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/6.992, allocations: 0.5355 MB / 3.461 GB, free: 26.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/6.992, allocations: 37.31 kB / 3.461 GB, free: 26.67 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/6.992, allocations: 55.98 kB / 3.462 GB, free: 26.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/6.993, allocations: 0.6137 MB / 3.462 GB, free: 25.98 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/6.993, allocations: 0 / 3.462 GB, free: 25.98 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/6.994, allocations: 27.94 kB / 3.462 GB, free: 25.95 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/6.994, allocations: 25.31 kB / 3.462 GB, free: 25.93 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/6.994, allocations: 477 kB / 3.463 GB, free: 25.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.003764/6.998, allocations: 2.243 MB / 3.465 GB, free: 23.06 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/6.999, allocations: 226.8 kB / 3.465 GB, free: 22.83 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/6.999, allocations: 112.8 kB / 3.465 GB, free: 22.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/6.999, allocations: 7.984 kB / 3.465 GB, free: 22.71 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/6.999, allocations: 38.56 kB / 3.465 GB, free: 22.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 3.647e-06/6.999, allocations: 0 / 3.465 GB, free: 22.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0009018/7, allocations: 340 kB / 3.466 GB, free: 22.32 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/7, allocations: 81.11 kB / 3.466 GB, free: 22.22 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006127/7.001, allocations: 0.4889 MB / 3.466 GB, free: 21.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/7.001, allocations: 29.7 kB / 3.466 GB, free: 21.69 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/7.001, allocations: 339.4 kB / 3.466 GB, free: 21.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/7.001, allocations: 78.94 kB / 3.466 GB, free: 21.28 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/7.001, allocations: 4 kB / 3.466 GB, free: 21.27 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/7.001, allocations: 358.8 kB / 3.467 GB, free: 20.91 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/7.001, allocations: 112.6 kB / 3.467 GB, free: 20.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/7.001, allocations: 203.5 kB / 3.467 GB, free: 20.57 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/7.002, allocations: 152.5 kB / 3.467 GB, free: 20.42 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/7.002, allocations: 0 / 3.467 GB, free: 20.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007409/7.002, allocations: 470.3 kB / 3.468 GB, free: 19.95 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/7.002, allocations: 8.281 kB / 3.468 GB, free: 19.94 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/7.002, allocations: 4 kB / 3.468 GB, free: 19.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/7.003, allocations: 85.61 kB / 3.468 GB, free: 19.84 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/7.003, allocations: 75.89 kB / 3.468 GB, free: 19.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/7.005, allocations: 2.979 MB / 3.471 GB, free: 16.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/7.006, allocations: 71.47 kB / 3.471 GB, free: 16.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/7.006, allocations: 15.94 kB / 3.471 GB, free: 16.43 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.0001186/7.006, allocations: 122.3 kB / 3.471 GB, free: 16.31 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/7.006, allocations: 51.44 kB / 3.471 GB, free: 16.26 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/7.006, allocations: 60.28 kB / 3.471 GB, free: 16.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/7.006, allocations: 0 / 3.471 GB, free: 16.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/7.006, allocations: 0 / 3.471 GB, free: 16.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005031/7.007, allocations: 0.5007 MB / 3.472 GB, free: 15.63 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/7.008, allocations: 0.8908 MB / 3.472 GB, free: 14.67 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/7.008, allocations: 0 / 3.472 GB, free: 14.67 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/7.008, allocations: 39.97 kB / 3.473 GB, free: 14.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/7.009, allocations: 60.81 kB / 3.473 GB, free: 14.57 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/7.009, allocations: 8 kB / 3.473 GB, free: 14.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/7.01, allocations: 1.625 MB / 3.474 GB, free: 12.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/7.01, allocations: 8.047 kB / 3.474 GB, free: 12.79 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/7.01, allocations: 443.8 kB / 3.475 GB, free: 12.32 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/7.011, allocations: 164.4 kB / 3.475 GB, free: 12.14 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/7.011, allocations: 4 kB / 3.475 GB, free: 12.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/7.011, allocations: 39.84 kB / 3.475 GB, free: 12.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/7.011, allocations: 27.86 kB / 3.475 GB, free: 12.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/7.011, allocations: 15.98 kB / 3.475 GB, free: 12.06 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004231/7.012, allocations: 389.5 kB / 3.475 GB, free: 11.68 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/7.012, allocations: 0 / 3.475 GB, free: 11.68 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001178/7.013, allocations: 287.6 kB / 3.475 GB, free: 11.4 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.002295/7.015, allocations: 1.952 MB / 3.477 GB, free: 9.418 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007925/7.016, allocations: 0.497 MB / 3.478 GB, free: 8.895 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/7.016, allocations: 3.938 kB / 3.478 GB, free: 8.891 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/7.017, allocations: 230.4 kB / 3.478 GB, free: 8.652 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/7.018, allocations: 367 kB / 3.478 GB, free: 8.301 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/7.02, allocations: 0.8016 MB / 3.479 GB, free: 7.453 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/7.02, allocations: 0.9173 MB / 3.48 GB, free: 6.508 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005178/7.021, allocations: 116.8 kB / 3.48 GB, free: 6.395 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/7.021, allocations: 187.4 kB / 3.48 GB, free: 6.211 MB / 1.151 GB Notification: Performance of SimCode: time 7.11e-07/7.021, allocations: 4 kB / 3.48 GB, free: 6.207 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8404/7.861, allocations: 34.09 MB / 3.514 GB, free: 330.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/7.862, allocations: 232.6 kB / 3.514 GB, free: 330.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/11.07, allocations: 0 / 3.514 GB, free: 330.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat does not exist to compare? outputFormat=mat