Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.000933/0.0009331, allocations: 91.77 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.001083/0.001083, 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.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.535/2.535, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.7992, allocations: 146.8 MB / 0.9811 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2115/1.011, allocations: 173.3 MB / 1.15 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009944/1.021, allocations: 5.396 MB / 1.156 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/1.023, allocations: 39.69 kB / 1.156 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/1.025, allocations: 397.4 kB / 1.156 GB, free: 2.594 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.004704/1.03, allocations: 1.361 MB / 1.157 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/1.033, allocations: 0.8382 MB / 1.158 GB, free: 404 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005224/1.038, allocations: 3.446 MB / 1.162 GB, free: 12.94 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/1.04, allocations: 0.8055 MB / 1.162 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/1.042, allocations: 0.883 MB / 1.163 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/1.044, allocations: 0.9068 MB / 1.164 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/1.044, allocations: 48 kB / 1.164 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/1.046, allocations: 0.7093 MB / 1.165 GB, free: 9.562 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005994/1.047, allocations: 490.6 kB / 1.165 GB, free: 9.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/1.047, allocations: 289.1 kB / 1.166 GB, free: 8.793 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/1.049, allocations: 1.629 MB / 1.167 GB, free: 7.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.049, allocations: 0 / 1.167 GB, free: 7.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.365e-06/1.049, allocations: 0 / 1.167 GB, free: 7.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.312e-05/1.049, allocations: 0 / 1.167 GB, free: 7.16 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002461/1.052, allocations: 1.383 MB / 1.169 GB, free: 5.727 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/1.052, allocations: 16.03 kB / 1.169 GB, free: 5.711 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000231/1.052, allocations: 156.2 kB / 1.169 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/1.054, allocations: 330.2 kB / 1.169 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/1.055, allocations: 0.8363 MB / 1.17 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/1.055, allocations: 74 kB / 1.17 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/1.055, allocations: 99.95 kB / 1.17 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/1.057, allocations: 1.089 MB / 1.171 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.057, allocations: 0 / 1.171 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/1.058, allocations: 44 kB / 1.171 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/1.058, allocations: 38 kB / 1.171 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/1.059, allocations: 0.9954 MB / 1.172 GB, free: 2.004 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.006255/1.066, allocations: 4.26 MB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008781/1.066, allocations: 0.5996 MB / 1.177 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/1.067, allocations: 346.5 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/1.067, allocations: 105.5 kB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/1.067, allocations: 43 kB / 1.177 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 2.685e-06/1.067, allocations: 4 kB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=55): time 0.004584/1.072, allocations: 2.22 MB / 1.18 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.072, allocations: 55.97 kB / 1.18 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.073, allocations: 0.8765 MB / 1.18 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/1.073, allocations: 37.7 kB / 1.18 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/1.074, allocations: 0.5107 MB / 1.181 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/1.074, allocations: 197.1 kB / 1.181 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/1.074, allocations: 23.94 kB / 1.181 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.074, allocations: 330 kB / 1.181 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/1.074, allocations: 289.8 kB / 1.182 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/1.075, allocations: 440.9 kB / 1.182 GB, free: 7.164 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.00277/1.078, allocations: 1.103 MB / 1.183 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.078, allocations: 0 / 1.183 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001565/1.079, allocations: 0.9339 MB / 1.184 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.079, allocations: 12 kB / 1.184 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.079, allocations: 8 kB / 1.184 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/1.08, allocations: 98.5 kB / 1.184 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/1.08, allocations: 183.7 kB / 1.184 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/1.084, allocations: 4.274 MB / 1.189 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/1.085, allocations: 68.69 kB / 1.189 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/1.085, allocations: 31.98 kB / 1.189 GB, free: 16 kB / 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: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006343/1.085, allocations: 354.5 kB / 1.189 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/1.086, allocations: 98.88 kB / 1.189 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/1.086, allocations: 109.2 kB / 1.189 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.086, allocations: 4 kB / 1.189 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.086, allocations: 0 / 1.189 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/1.087, allocations: 0.7731 MB / 1.19 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/1.09, allocations: 1.996 MB / 1.192 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.09, allocations: 4 kB / 1.192 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006551/1.091, allocations: 168.1 kB / 1.192 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.383e-05/1.091, allocations: 36.83 kB / 1.192 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/1.091, allocations: 16 kB / 1.192 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/1.092, allocations: 1.484 MB / 1.194 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.092, allocations: 7.984 kB / 1.194 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/1.094, allocations: 1.214 MB / 1.195 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/1.094, allocations: 259.8 kB / 1.195 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.094, allocations: 16 kB / 1.195 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/1.095, allocations: 71.88 kB / 1.195 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.095, allocations: 47.84 kB / 1.195 GB, free: 9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/1.095, allocations: 31.97 kB / 1.195 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008341/1.096, allocations: 0.6005 MB / 1.196 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.096, allocations: 4 kB / 1.196 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001042/1.097, allocations: 308 kB / 1.196 GB, free: 8.066 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002392/1.1, allocations: 1.868 MB / 1.198 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001614/1.101, allocations: 1.01 MB / 1.199 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/1.101, allocations: 4 kB / 1.199 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006403/1.102, allocations: 444.1 kB / 1.199 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/1.105, allocations: 0.6255 MB / 1.2 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009774/1.114, allocations: 6.254 MB / 1.206 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/1.115, allocations: 1.166 MB / 1.207 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001152/1.116, allocations: 260.4 kB / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/1.117, allocations: 379.3 kB / 1.208 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of SimCode: time 9.92e-07/1.117, allocations: 4 kB / 1.208 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05402/1.171, allocations: 29.91 MB / 1.237 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/1.171, allocations: 297.3 kB / 1.237 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.67, allocations: 2.672 kB / 1.237 GB, free: 13.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat does not exist to compare? outputFormat=mat