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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 99.62 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.001413/0.001413, allocations: 177.3 kB / 15.95 MB, free: 216 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.511/1.511, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.584/2.584, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003733, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8175, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1766/0.9942, allocations: 143.1 MB / 1.093 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006876/1.001, allocations: 4.136 MB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00077/1.002, allocations: 11.94 kB / 1.097 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009659/1.003, allocations: 322.5 kB / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/1.006, allocations: 1.005 MB / 1.099 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/1.008, allocations: 0.774 MB / 1.099 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001636/1.01, allocations: 0.9657 MB / 1.1 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006241/1.01, allocations: 424.7 kB / 1.101 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009996/1.011, allocations: 0.5256 MB / 1.101 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/1.012, allocations: 370.6 kB / 1.102 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/1.012, allocations: 24 kB / 1.102 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009833/1.013, allocations: 347.5 kB / 1.102 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002241/1.013, allocations: 215.4 kB / 1.102 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/1.013, allocations: 169.3 kB / 1.102 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009149/1.014, allocations: 0.8377 MB / 1.103 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/1.014, allocations: 4 kB / 1.103 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.092e-06/1.014, allocations: 4 kB / 1.103 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.928e-06/1.014, allocations: 0 / 1.103 GB, free: 6.605 MB / 0.8575 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.001598/1.016, allocations: 0.8923 MB / 1.104 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.016, allocations: 8.031 kB / 1.104 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/1.016, allocations: 106.5 kB / 1.104 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/1.017, allocations: 159.1 kB / 1.104 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/1.018, allocations: 0.5096 MB / 1.105 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/1.018, allocations: 41.31 kB / 1.105 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/1.018, allocations: 48 kB / 1.105 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/1.019, allocations: 0.6579 MB / 1.106 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.019, allocations: 0 / 1.106 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/1.019, allocations: 24 kB / 1.106 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/1.019, allocations: 33.23 kB / 1.106 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009682/1.02, allocations: 0.5165 MB / 1.106 GB, free: 3.504 MB / 0.8575 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.003375/1.024, allocations: 2.297 MB / 1.108 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/1.024, allocations: 266.7 kB / 1.109 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/1.024, allocations: 11.92 kB / 1.109 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/1.024, allocations: 34.56 kB / 1.109 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/1.024, allocations: 4 kB / 1.109 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.00167/1.026, allocations: 0.6785 MB / 1.109 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/1.026, allocations: 85.11 kB / 1.109 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006002/1.027, allocations: 0.5535 MB / 1.11 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/1.027, allocations: 33.7 kB / 1.11 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/1.027, allocations: 335 kB / 1.11 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/1.027, allocations: 70.98 kB / 1.11 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/1.027, allocations: 8 kB / 1.11 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.027, allocations: 362.8 kB / 1.111 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/1.027, allocations: 132.6 kB / 1.111 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/1.028, allocations: 222.5 kB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/1.028, allocations: 167.9 kB / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.028, allocations: 0 / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008594/1.029, allocations: 0.5065 MB / 1.112 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.029, allocations: 7.953 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.029, allocations: 7.984 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/1.029, allocations: 93.59 kB / 1.112 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/1.03, allocations: 79.89 kB / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/1.032, allocations: 3.133 MB / 1.115 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/1.033, allocations: 63.41 kB / 1.115 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/1.033, allocations: 15.98 kB / 1.115 GB, free: 9.77 MB / 0.8731 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.0003492/1.033, allocations: 221.7 kB / 1.115 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/1.033, allocations: 55.39 kB / 1.115 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.649e-05/1.034, allocations: 56.5 kB / 1.115 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.034, allocations: 4 kB / 1.115 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/1.034, allocations: 0 / 1.115 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008488/1.034, allocations: 0.5443 MB / 1.116 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/1.036, allocations: 0.9278 MB / 1.117 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/1.036, allocations: 3.938 kB / 1.117 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/1.036, allocations: 47.91 kB / 1.117 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/1.036, allocations: 64.75 kB / 1.117 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/1.036, allocations: 4 kB / 1.117 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/1.038, allocations: 1.722 MB / 1.119 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.038, allocations: 0 / 1.119 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007102/1.039, allocations: 468.9 kB / 1.119 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/1.039, allocations: 168.3 kB / 1.119 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/1.039, allocations: 4 kB / 1.119 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/1.04, allocations: 41.55 kB / 1.119 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/1.04, allocations: 23.86 kB / 1.119 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/1.04, allocations: 15.98 kB / 1.119 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000457/1.04, allocations: 394.8 kB / 1.12 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.04, allocations: 0 / 1.12 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007085/1.041, allocations: 207.6 kB / 1.12 GB, free: 4.5 MB / 0.8731 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.001342/1.042, allocations: 1.202 MB / 1.121 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009004/1.043, allocations: 0.5322 MB / 1.122 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.043, allocations: 0 / 1.122 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004116/1.044, allocations: 267.1 kB / 1.122 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/1.045, allocations: 346.9 kB / 1.122 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/1.051, allocations: 4.478 MB / 1.126 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/1.051, allocations: 0.9132 MB / 1.127 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005238/1.052, allocations: 112.8 kB / 1.127 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/1.052, allocations: 195.4 kB / 1.128 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of SimCode: time 8.02e-07/1.052, allocations: 0 / 1.128 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/1.091, allocations: 17.06 MB / 1.144 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/1.091, allocations: 275.4 kB / 1.145 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/3.093, allocations: 2.25 kB / 1.145 GB, free: 11.24 MB / 0.9044 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