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.001293/0.001293, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001454/0.001454, allocations: 177.3 kB / 15.94 MB, free: 228 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.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.611/2.611, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.6953, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1379/0.8332, allocations: 143.1 MB / 1.121 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005512/0.8387, allocations: 4.146 MB / 1.125 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.8393, allocations: 19.88 kB / 1.125 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008228/0.8401, allocations: 318.5 kB / 1.125 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.8424, allocations: 1.009 MB / 1.126 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.8443, allocations: 0.7742 MB / 1.127 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.8455, allocations: 0.9682 MB / 1.128 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005095/0.8461, allocations: 424.7 kB / 1.128 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007958/0.8469, allocations: 0.5295 MB / 1.129 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.8473, allocations: 358.6 kB / 1.129 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.8474, allocations: 32 kB / 1.129 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007466/0.8481, allocations: 347.5 kB / 1.129 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.8483, allocations: 215.4 kB / 1.129 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.8485, allocations: 165.4 kB / 1.13 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007506/0.8492, allocations: 0.8454 MB / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.8492, allocations: 0 / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8493, allocations: 0 / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.8493, allocations: 0 / 1.13 GB, free: 12.7 MB / 0.8887 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.001456/0.8507, allocations: 0.8963 MB / 1.131 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.8508, allocations: 12.03 kB / 1.131 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.8509, allocations: 98.52 kB / 1.131 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/0.8518, allocations: 163 kB / 1.132 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.8525, allocations: 0.5019 MB / 1.132 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.8526, allocations: 41.27 kB / 1.132 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.8527, allocations: 56 kB / 1.132 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009702/0.8536, allocations: 0.6518 MB / 1.133 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.8537, allocations: 0 / 1.133 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.8537, allocations: 24 kB / 1.133 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.8538, allocations: 21.31 kB / 1.133 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.8546, allocations: 0.5204 MB / 1.133 GB, free: 9.605 MB / 0.8887 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.002913/0.8575, allocations: 2.313 MB / 1.136 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.858, allocations: 254.8 kB / 1.136 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.858, allocations: 4 kB / 1.136 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.858, allocations: 42.5 kB / 1.136 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.8581, allocations: 0 / 1.136 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001468/0.8595, allocations: 0.6854 MB / 1.137 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.8596, allocations: 77.11 kB / 1.137 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.8601, allocations: 0.5613 MB / 1.137 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.8602, allocations: 29.7 kB / 1.137 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.8604, allocations: 331.1 kB / 1.138 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.8604, allocations: 75.02 kB / 1.138 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.8605, allocations: 4 kB / 1.138 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8606, allocations: 358.8 kB / 1.138 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.8608, allocations: 136.6 kB / 1.138 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.8611, allocations: 214.7 kB / 1.138 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.8614, allocations: 171.9 kB / 1.138 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8614, allocations: 4 kB / 1.138 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008125/0.8622, allocations: 0.5028 MB / 1.139 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8623, allocations: 4 kB / 1.139 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8623, allocations: 4.281 kB / 1.139 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/0.8626, allocations: 97.64 kB / 1.139 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.8629, allocations: 75.91 kB / 1.139 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.8654, allocations: 3.144 MB / 1.142 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.8658, allocations: 67.48 kB / 1.142 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.8659, allocations: 15.98 kB / 1.142 GB, free: 15.87 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.0002355/0.8661, allocations: 217.6 kB / 1.143 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.8662, allocations: 55.44 kB / 1.143 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.564e-05/0.8663, allocations: 56.5 kB / 1.143 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8663, allocations: 4 kB / 1.143 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.8663, allocations: 11.88 kB / 1.143 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006405/0.867, allocations: 0.5306 MB / 1.143 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.8681, allocations: 0.9362 MB / 1.144 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8681, allocations: 3.938 kB / 1.144 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.8683, allocations: 48.05 kB / 1.144 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.8685, allocations: 64.8 kB / 1.144 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.8686, allocations: 8 kB / 1.144 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.87, allocations: 1.71 MB / 1.146 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.87, allocations: 0 / 1.146 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.8706, allocations: 465.9 kB / 1.146 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.8708, allocations: 176.3 kB / 1.146 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.8709, allocations: 7.953 kB / 1.146 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.8713, allocations: 31.97 kB / 1.146 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.8714, allocations: 23.95 kB / 1.147 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.8714, allocations: 16.38 kB / 1.147 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004017/0.8718, allocations: 394.8 kB / 1.147 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8718, allocations: 0 / 1.147 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006145/0.8725, allocations: 211.6 kB / 1.147 GB, free: 10.6 MB / 0.9044 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.001064/0.8735, allocations: 1.196 MB / 1.148 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007968/0.8743, allocations: 0.5284 MB / 1.149 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8744, allocations: 4.562 kB / 1.149 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.8747, allocations: 258.5 kB / 1.149 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.8762, allocations: 359.3 kB / 1.149 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.8807, allocations: 4.472 MB / 1.154 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.8812, allocations: 0.9285 MB / 1.155 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004559/0.8816, allocations: 112.8 kB / 1.155 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.8818, allocations: 187.4 kB / 1.155 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of SimCode: time 1.132e-06/0.8819, allocations: 4 kB / 1.155 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.19/2.072, allocations: 17.07 MB / 1.172 GB, free: 1.695 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/2.073, allocations: 278.4 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/4.304, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 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