Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001302/0.001302, allocations: 100 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.001464/0.001465, 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.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.476/2.476, allocations: 390.3 MB / 0.6653 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9045/0.9049, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2023/1.107, allocations: 158.3 MB / 1.108 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009624/1.117, allocations: 5.654 MB / 1.114 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/1.118, allocations: 31.75 kB / 1.114 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/1.12, allocations: 0.5716 MB / 1.114 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/1.125, allocations: 1.671 MB / 1.116 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/1.129, allocations: 1.2 MB / 1.117 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003169/1.132, allocations: 1.691 MB / 1.119 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/1.133, allocations: 0.718 MB / 1.119 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/1.135, allocations: 0.7747 MB / 1.12 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000984/1.136, allocations: 0.5681 MB / 1.121 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/1.136, allocations: 47.94 kB / 1.121 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/1.138, allocations: 0.6123 MB / 1.121 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003903/1.138, allocations: 355 kB / 1.122 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003519/1.139, allocations: 257.1 kB / 1.122 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001736/1.14, allocations: 1.399 MB / 1.123 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.14, allocations: 4 kB / 1.123 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.815e-06/1.14, allocations: 0 / 1.123 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.602e-05/1.141, allocations: 0 / 1.123 GB, free: 1.887 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002227/1.143, allocations: 1.278 MB / 1.125 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.143, allocations: 8.031 kB / 1.125 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/1.143, allocations: 147.2 kB / 1.125 GB, free: 404 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/1.145, allocations: 318.3 kB / 1.125 GB, free: 84 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/1.146, allocations: 0.7856 MB / 1.126 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/1.146, allocations: 69.94 kB / 1.126 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.147, allocations: 83.98 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/1.148, allocations: 0.9014 MB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/1.148, allocations: 0 / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/1.148, allocations: 47.94 kB / 1.127 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/1.148, allocations: 30 kB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/1.15, allocations: 0.8315 MB / 1.128 GB, free: 13.29 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.005587/1.155, allocations: 3.541 MB / 1.131 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000772/1.156, allocations: 0.4903 MB / 1.132 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/1.156, allocations: 12.44 kB / 1.132 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/1.156, allocations: 46.92 kB / 1.132 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=47): time 2.825e-06/1.156, allocations: 0 / 1.132 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=49): time 0.004144/1.16, allocations: 1.935 MB / 1.134 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/1.161, allocations: 55.84 kB / 1.134 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.162, allocations: 0.798 MB / 1.134 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/1.162, allocations: 37.7 kB / 1.135 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/1.162, allocations: 479.3 kB / 1.135 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/1.162, allocations: 181.5 kB / 1.135 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/1.162, allocations: 15.94 kB / 1.135 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.162, allocations: 329.9 kB / 1.135 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/1.163, allocations: 245.2 kB / 1.136 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/1.163, allocations: 357.2 kB / 1.136 GB, free: 4.387 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/1.166, allocations: 1.01 MB / 1.137 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.166, allocations: 0 / 1.137 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001381/1.168, allocations: 0.7924 MB / 1.138 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.168, allocations: 9.562 kB / 1.138 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.168, allocations: 0 / 1.138 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/1.168, allocations: 101.8 kB / 1.138 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/1.169, allocations: 151.8 kB / 1.138 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/1.171, allocations: 3.098 MB / 1.141 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.173, allocations: 67.81 kB / 1.141 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/1.173, allocations: 20 kB / 1.141 GB, free: 14.85 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006869/1.173, allocations: 303.7 kB / 1.141 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.173, allocations: 90.97 kB / 1.142 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/1.174, allocations: 104.7 kB / 1.142 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.174, allocations: 4 kB / 1.142 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.174, allocations: 0 / 1.142 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/1.175, allocations: 0.8466 MB / 1.142 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/1.178, allocations: 1.811 MB / 1.144 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.178, allocations: 4 kB / 1.144 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/1.178, allocations: 136.3 kB / 1.144 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/1.179, allocations: 72.73 kB / 1.144 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/1.179, allocations: 16 kB / 1.144 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/1.18, allocations: 1.679 MB / 1.146 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.18, allocations: 4 kB / 1.146 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.182, allocations: 1.234 MB / 1.147 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/1.183, allocations: 235.9 kB / 1.148 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/1.183, allocations: 12 kB / 1.148 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008372/1.184, allocations: 69.44 kB / 1.148 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.184, allocations: 51.89 kB / 1.148 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/1.184, allocations: 27.98 kB / 1.148 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007582/1.185, allocations: 0.5498 MB / 1.148 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.185, allocations: 0 / 1.148 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001037/1.186, allocations: 288 kB / 1.149 GB, free: 6.844 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00267/1.188, allocations: 2.763 MB / 1.151 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001376/1.19, allocations: 0.7961 MB / 1.152 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.19, allocations: 3.938 kB / 1.152 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005817/1.19, allocations: 411.8 kB / 1.152 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.193, allocations: 0.5731 MB / 1.153 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.203, allocations: 7.066 MB / 1.16 GB, free: 10.87 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/1.204, allocations: 1.107 MB / 1.161 GB, free: 9.73 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001069/1.205, allocations: 211.7 kB / 1.161 GB, free: 9.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/1.206, allocations: 343.3 kB / 1.161 GB, free: 9.184 MB / 0.92 GB Notification: Performance of SimCode: time 3.797e-06/1.206, allocations: 0 / 1.161 GB, free: 9.184 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05239/1.258, allocations: 27.28 MB / 1.188 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/1.258, allocations: 271.9 kB / 1.188 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.509, allocations: 2.812 kB / 1.188 GB, free: 14.04 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat does not exist to compare? outputFormat=mat