Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_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.001228/0.001229, allocations: 90.75 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.001627/0.001627, 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.483/1.483, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.501/2.501, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8703, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2133/1.084, allocations: 173.4 MB / 1.15 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00922/1.093, allocations: 5.403 MB / 1.156 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/1.095, allocations: 31.81 kB / 1.156 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/1.096, allocations: 409.4 kB / 1.156 GB, free: 2.504 MB / 0.9044 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: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. Notification: Performance of NFTyping.typeBindings: time 0.004791/1.101, allocations: 1.376 MB / 1.158 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/1.104, allocations: 0.8476 MB / 1.158 GB, free: 288 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004512/1.109, allocations: 3.442 MB / 1.162 GB, free: 12.83 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/1.11, allocations: 0.7217 MB / 1.162 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/1.112, allocations: 0.8713 MB / 1.163 GB, free: 11.22 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/1.114, allocations: 0.8755 MB / 1.164 GB, free: 10.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002498/1.114, allocations: 40 kB / 1.164 GB, free: 10.3 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/1.117, allocations: 0.7015 MB / 1.165 GB, free: 9.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006145/1.117, allocations: 386.8 kB / 1.165 GB, free: 9.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005912/1.118, allocations: 257.1 kB / 1.165 GB, free: 8.961 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/1.12, allocations: 1.473 MB / 1.167 GB, free: 7.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.12, allocations: 4 kB / 1.167 GB, free: 7.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/1.12, allocations: 3.938 kB / 1.167 GB, free: 7.477 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.608e-05/1.12, allocations: 0 / 1.167 GB, free: 7.477 MB / 0.92 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.002572/1.123, allocations: 1.305 MB / 1.168 GB, free: 6.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.123, allocations: 8.031 kB / 1.168 GB, free: 6.109 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002874/1.123, allocations: 143.2 kB / 1.168 GB, free: 5.961 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/1.125, allocations: 310.4 kB / 1.169 GB, free: 5.656 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.127, allocations: 0.7818 MB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/1.127, allocations: 65.98 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/1.127, allocations: 87.95 kB / 1.17 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/1.129, allocations: 0.9208 MB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.129, allocations: 0 / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.747e-05/1.129, allocations: 36 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/1.129, allocations: 30 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/1.13, allocations: 0.8354 MB / 1.171 GB, free: 2.855 MB / 0.92 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.005343/1.136, allocations: 3.541 MB / 1.175 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/1.136, allocations: 0.4953 MB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/1.137, allocations: 298 kB / 1.176 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/1.137, allocations: 97.53 kB / 1.176 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/1.137, allocations: 46.94 kB / 1.176 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 2.244e-06/1.137, allocations: 4 kB / 1.176 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.004/1.141, allocations: 1.946 MB / 1.178 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.141, allocations: 55.84 kB / 1.178 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/1.142, allocations: 0.798 MB / 1.178 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/1.142, allocations: 45.7 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/1.143, allocations: 479.3 kB / 1.179 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/1.143, allocations: 165.5 kB / 1.179 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/1.143, allocations: 16 kB / 1.179 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.143, allocations: 330 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/1.143, allocations: 241.2 kB / 1.18 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/1.144, allocations: 357.3 kB / 1.18 GB, free: 9.555 MB / 0.9356 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.00282/1.147, allocations: 1.01 MB / 1.181 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.147, allocations: 0 / 1.181 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001399/1.148, allocations: 0.7923 MB / 1.182 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.148, allocations: 8 kB / 1.182 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.148, allocations: 352 / 1.182 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/1.148, allocations: 101.6 kB / 1.182 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/1.149, allocations: 159.8 kB / 1.182 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/1.152, allocations: 3.049 MB / 1.185 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/1.153, allocations: 64.11 kB / 1.185 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/1.153, allocations: 20 kB / 1.185 GB, free: 4.062 MB / 0.9356 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.0004794/1.153, allocations: 308.6 kB / 1.185 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/1.154, allocations: 90.97 kB / 1.185 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/1.154, allocations: 108.7 kB / 1.186 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.154, allocations: 4 kB / 1.186 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.154, allocations: 3.938 kB / 1.186 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/1.155, allocations: 0.8505 MB / 1.186 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/1.158, allocations: 1.805 MB / 1.188 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.158, allocations: 7.984 kB / 1.188 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/1.158, allocations: 136.3 kB / 1.188 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/1.159, allocations: 68.8 kB / 1.188 GB, free: 496 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/1.159, allocations: 16 kB / 1.188 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/1.16, allocations: 1.644 MB / 1.19 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.16, allocations: 15.89 kB / 1.19 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/1.162, allocations: 1.084 MB / 1.191 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/1.162, allocations: 232 kB / 1.191 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.163, allocations: 15.98 kB / 1.191 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/1.163, allocations: 67.86 kB / 1.191 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.164, allocations: 43.84 kB / 1.191 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/1.164, allocations: 31.92 kB / 1.191 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007447/1.164, allocations: 0.5576 MB / 1.192 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.164, allocations: 0 / 1.192 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009948/1.165, allocations: 288 kB / 1.192 GB, free: 12.29 MB / 0.9512 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.002216/1.168, allocations: 1.718 MB / 1.194 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001332/1.169, allocations: 0.8079 MB / 1.195 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.169, allocations: 0 / 1.195 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/1.17, allocations: 407.4 kB / 1.195 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/1.172, allocations: 0.582 MB / 1.196 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.182, allocations: 5.44 MB / 1.201 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/1.183, allocations: 1.091 MB / 1.202 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001052/1.184, allocations: 207.7 kB / 1.202 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/1.185, allocations: 349.3 kB / 1.203 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of SimCode: time 8.02e-07/1.185, allocations: 4 kB / 1.203 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05523/1.24, allocations: 27.31 MB / 1.229 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/1.24, allocations: 285.4 kB / 1.23 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.725, allocations: 0 / 1.23 GB, free: 6.172 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat does not exist to compare? outputFormat=mat