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.001328/0.001328, 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.001546/0.001546, 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.517/1.517, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.91/2.91, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 12 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.6613, allocations: 146.8 MB / 0.9809 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1717/0.8331, allocations: 158.2 MB / 1.135 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009095/0.8422, allocations: 5.636 MB / 1.141 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.8436, allocations: 35.75 kB / 1.141 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.8455, allocations: 0.5599 MB / 1.141 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.8512, allocations: 1.663 MB / 1.143 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.8551, allocations: 1.19 MB / 1.144 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003264/0.8584, allocations: 1.695 MB / 1.146 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.8598, allocations: 0.8134 MB / 1.147 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.8614, allocations: 0.7747 MB / 1.147 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009476/0.8624, allocations: 0.6071 MB / 1.148 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.8626, allocations: 51.94 kB / 1.148 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.8644, allocations: 0.6162 MB / 1.149 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004887/0.8649, allocations: 466.8 kB / 1.149 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.8653, allocations: 277.1 kB / 1.149 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.867, allocations: 1.539 MB / 1.151 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.867, allocations: 0 / 1.151 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.863e-06/0.867, allocations: 0 / 1.151 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.8671, allocations: 0 / 1.151 GB, free: 7.641 MB / 0.9044 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.002396/0.8695, allocations: 1.359 MB / 1.152 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.8695, allocations: 12.03 kB / 1.152 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000238/0.8698, allocations: 156.2 kB / 1.152 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.872, allocations: 334.2 kB / 1.153 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.8736, allocations: 0.8401 MB / 1.154 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.8737, allocations: 74 kB / 1.154 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.8738, allocations: 99.95 kB / 1.154 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.8758, allocations: 1.081 MB / 1.155 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.8758, allocations: 0 / 1.155 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.8759, allocations: 44 kB / 1.155 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/0.876, allocations: 41.98 kB / 1.155 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.8776, allocations: 0.9915 MB / 1.156 GB, free: 2.512 MB / 0.9044 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.006668/0.8842, allocations: 4.252 MB / 1.16 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009101/0.8852, allocations: 0.6088 MB / 1.161 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/0.8853, allocations: 16.41 kB / 1.161 GB, free: 13.33 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.8853, allocations: 43 kB / 1.161 GB, free: 13.28 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 3.096e-06/0.8853, allocations: 0 / 1.161 GB, free: 13.28 MB / 0.92 GB Notification: Performance of matching and sorting (n=55): time 0.004665/0.89, allocations: 2.221 MB / 1.163 GB, free: 10.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.8901, allocations: 59.95 kB / 1.163 GB, free: 10.88 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.8912, allocations: 0.8804 MB / 1.164 GB, free: 9.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.8912, allocations: 37.7 kB / 1.164 GB, free: 9.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.8916, allocations: 0.5107 MB / 1.164 GB, free: 9.426 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.8918, allocations: 197.1 kB / 1.164 GB, free: 9.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.8918, allocations: 16 kB / 1.164 GB, free: 9.215 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.892, allocations: 333.9 kB / 1.165 GB, free: 8.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.8925, allocations: 285.8 kB / 1.165 GB, free: 8.605 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.893, allocations: 440.9 kB / 1.165 GB, free: 8.125 MB / 0.92 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.002859/0.8959, allocations: 1.092 MB / 1.167 GB, free: 7.012 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.8959, allocations: 4 kB / 1.167 GB, free: 7.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001478/0.8974, allocations: 0.934 MB / 1.167 GB, free: 6.059 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.8974, allocations: 13.5 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.8974, allocations: 4 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.8977, allocations: 98.45 kB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/0.8984, allocations: 179.7 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/0.9015, allocations: 4.337 MB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.9026, allocations: 71.95 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.9027, allocations: 28 kB / 1.172 GB, free: 0.9297 MB / 0.92 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.0005477/0.9032, allocations: 351.2 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.9034, allocations: 98.88 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.9036, allocations: 109.2 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9036, allocations: 4 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9036, allocations: 0 / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.9047, allocations: 0.777 MB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.9079, allocations: 1.992 MB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.9079, allocations: 4 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.9086, allocations: 160.2 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.9088, allocations: 40.78 kB / 1.175 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/0.9088, allocations: 23.92 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.9102, allocations: 1.495 MB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.9102, allocations: 7.984 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.9128, allocations: 1.373 MB / 1.178 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000734/0.9135, allocations: 255.9 kB / 1.179 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.9137, allocations: 12 kB / 1.179 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008438/0.9145, allocations: 75.78 kB / 1.179 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.9147, allocations: 47.84 kB / 1.179 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.9147, allocations: 31.98 kB / 1.179 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008222/0.9156, allocations: 0.6083 MB / 1.179 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9156, allocations: 0 / 1.179 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000964/0.9165, allocations: 300 kB / 1.18 GB, free: 8.734 MB / 0.9356 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.002659/0.9192, allocations: 2.917 MB / 1.182 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.9208, allocations: 1.01 MB / 1.183 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.9208, allocations: 4 kB / 1.183 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006013/0.9214, allocations: 448.1 kB / 1.184 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.9242, allocations: 0.6129 MB / 1.184 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009791/0.934, allocations: 8.608 MB / 1.193 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.9347, allocations: 1.19 MB / 1.194 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001092/0.9358, allocations: 260.4 kB / 1.194 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.9364, allocations: 375.3 kB / 1.195 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/0.9364, allocations: 0 / 1.195 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.316/4.253, allocations: 29.87 MB / 1.224 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/4.253, allocations: 291.4 kB / 1.224 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/7.417, allocations: 0 / 1.224 GB, free: 11.13 MB / 0.9825 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