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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001509, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.863/2.863, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 16 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8007, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1762/0.977, allocations: 155.4 MB / 1.133 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006594/0.9836, allocations: 4.049 MB / 1.137 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007593/0.9844, allocations: 19.88 kB / 1.137 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000811/0.9852, allocations: 226.6 kB / 1.137 GB, free: 6.105 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002379/0.9876, allocations: 0.9097 MB / 1.138 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.9893, allocations: 0.5702 MB / 1.139 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002484/0.9918, allocations: 1.995 MB / 1.14 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007179/0.9926, allocations: 412.7 kB / 1.141 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.9937, allocations: 0.5757 MB / 1.141 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008077/0.9945, allocations: 0.5293 MB / 1.142 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.745e-05/0.9946, allocations: 24 kB / 1.142 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.9958, allocations: 407 kB / 1.142 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.9961, allocations: 235.3 kB / 1.143 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.9963, allocations: 165.4 kB / 1.143 GB, free: 292 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.9973, allocations: 0.8845 MB / 1.144 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9973, allocations: 0 / 1.144 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9974, allocations: 0 / 1.144 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.9974, allocations: 0 / 1.144 GB, free: 15.4 MB / 0.9044 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.001961/0.9993, allocations: 0.9196 MB / 1.145 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.9994, allocations: 8.031 kB / 1.145 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.9995, allocations: 102.5 kB / 1.145 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009652/1, allocations: 163 kB / 1.145 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007392/1.001, allocations: 0.5019 MB / 1.145 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/1.001, allocations: 45.27 kB / 1.145 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/1.001, allocations: 55.98 kB / 1.145 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/1.002, allocations: 0.6556 MB / 1.146 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/1.002, allocations: 0 / 1.146 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/1.003, allocations: 24 kB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/1.003, allocations: 21.31 kB / 1.146 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/1.003, allocations: 0.5204 MB / 1.147 GB, free: 12.28 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00312/1.007, allocations: 2.305 MB / 1.149 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/1.007, allocations: 266.8 kB / 1.149 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/1.007, allocations: 136.8 kB / 1.149 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/1.007, allocations: 3.984 kB / 1.149 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.007, allocations: 38.56 kB / 1.149 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/1.007, allocations: 0 / 1.149 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001591/1.009, allocations: 0.6937 MB / 1.15 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/1.009, allocations: 85.11 kB / 1.15 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/1.01, allocations: 0.5534 MB / 1.151 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/1.01, allocations: 29.7 kB / 1.151 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/1.01, allocations: 339 kB / 1.151 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/1.01, allocations: 70.98 kB / 1.151 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/1.01, allocations: 12 kB / 1.151 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.01, allocations: 358.8 kB / 1.151 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/1.011, allocations: 132.6 kB / 1.151 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/1.011, allocations: 214.7 kB / 1.152 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/1.011, allocations: 167.9 kB / 1.152 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.011, allocations: 4 kB / 1.152 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008984/1.012, allocations: 0.5108 MB / 1.152 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.012, allocations: 8 kB / 1.152 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/1.012, allocations: 0 / 1.152 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/1.013, allocations: 89.66 kB / 1.152 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/1.013, allocations: 79.89 kB / 1.152 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/1.016, allocations: 3.096 MB / 1.155 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/1.017, allocations: 63.41 kB / 1.156 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/1.017, allocations: 12 kB / 1.156 GB, free: 2.441 MB / 0.9044 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 () * Number of clocked 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.0003363/1.017, allocations: 231.2 kB / 1.156 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.017, allocations: 51.44 kB / 1.156 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/1.017, allocations: 52.5 kB / 1.156 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.017, allocations: 4 kB / 1.156 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/1.017, allocations: 0 / 1.156 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007363/1.018, allocations: 0.5435 MB / 1.156 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/1.019, allocations: 0.9221 MB / 1.157 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.019, allocations: 0 / 1.157 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/1.02, allocations: 47.91 kB / 1.157 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/1.02, allocations: 68.75 kB / 1.157 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/1.02, allocations: 4.062 kB / 1.157 GB, free: 380 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/1.021, allocations: 1.699 MB / 1.159 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.022, allocations: 0 / 1.159 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/1.022, allocations: 447.4 kB / 1.16 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/1.022, allocations: 168.3 kB / 1.16 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.298e-05/1.023, allocations: 8 kB / 1.16 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/1.023, allocations: 31.97 kB / 1.16 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/1.023, allocations: 31.86 kB / 1.16 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/1.023, allocations: 8 kB / 1.16 GB, free: 13.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004679/1.024, allocations: 398.8 kB / 1.16 GB, free: 13.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/1.024, allocations: 0 / 1.16 GB, free: 13.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007267/1.024, allocations: 207.6 kB / 1.16 GB, free: 13.23 MB / 0.92 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 () * Number of clocked 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.001209/1.026, allocations: 1.043 MB / 1.161 GB, free: 12.16 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009279/1.027, allocations: 0.525 MB / 1.162 GB, free: 11.61 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.027, allocations: 4.062 kB / 1.162 GB, free: 11.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/1.027, allocations: 258.5 kB / 1.162 GB, free: 11.34 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.028, allocations: 365.5 kB / 1.162 GB, free: 10.98 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/1.034, allocations: 3.144 MB / 1.166 GB, free: 7.758 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/1.034, allocations: 0.9129 MB / 1.166 GB, free: 6.816 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005632/1.035, allocations: 120.9 kB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/1.035, allocations: 191.4 kB / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of SimCode: time 5.21e-07/1.035, allocations: 0 / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/1.07, allocations: 17.09 MB / 1.183 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003599/1.071, allocations: 281.1 kB / 1.184 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/3.259, allocations: 0 / 1.184 GB, free: 5.453 MB / 0.9356 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) Environment - environmentSimulation: 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